       if finish.isValid() then range += finish.format('YYYY-MM-DD')
       range
 
-
   compileQuery: ->
     query = []
 

    'change #order': 'compileQuery'
    'click #submitCustomDate': 'changeCustomDate'

  psplit: (query) ->
    split = []
    depth = 0

    if FromServer.advanced? && FromServer.advanced.length > 0
      @toggleAdvanced()
      @readQuery(FromServer.advanced)

    engine = new Bloodhound(
      datumTokenizer: ((d) -> Bloodhound.tokenizers.whitespace(d.uid))
