       cssClass: 'search hidden'
       partial : '<span class="label">Sort by</span>'
 
-    @searchContainer.addSubView new KDSelectBox
+    @searchContainer.addSubView @sortSelectBox = new KDSelectBox
       defaultValue  : 'nickname'
       selectOptions : [
         { title     : 'Screen name',  value : 'fullname'  }

      ]
      callback      : (value) ->

    @searchContainer.addSubView new KDHitEnterInputView
      type                    : 'text'
      placeholder             : 'Find by name/username'
      validationNotifications : yes
      validate                :
        rules                 :
          required            : yes
        messages              :
          required            : 'Please enter a name or username'
      callback                : -> kd.log ',,,,,,,,,,,,,,,,,,'


  createListController: ->


    @listController.lazyLoader.hide()
    @searchContainer.show()


  search: ->

    @skip  = 0
    @query = @searchInput.getValue()

    @listController.removeAllItems()
    @listController.lazyLoader.show()
    @fetchMembers()
