 
   reset: ->
 
+    @reachedEndOfTheList = no
     @searchActive = no
     @lastTerm = ''
 


      return  if err

      callback items
      @reachedEndOfTheList = yes  unless items.length




    options      = @getSearchOptions val
    options.name = val
    
    @reachedEndOfTheList = no  unless options.limit

    @setClass 'search-active'
    @searchActive = yes
