 
     @createSearchView()
     @createListController()
-    @fetchMembers()
 
 
   createSearchView: ->


  handleSearchResult: (accounts) ->


    usernames = (profile.nickname for { profile } in accounts)

    # Send a request to back-end for user emails.


  createListController: ->

    { noItemFoundText, listViewItemOptions, fetcherMethod, listViewItemClass } = @getOptions()
    group = @getData()

    @listController       = new KodingListController
      noItemFoundText     : noItemFoundText
      lazyLoadThreshold   : .99
      sort                : { timestamp: -1 }
      itemClass           : listViewItemClass or MemberItemView
      viewOptions         :
        wrapper           : yes
        itemOptions       : listViewItemOptions
      fetcherMethod       : (query, fetchOptions, callback) =>
        group[fetcherMethod] query, fetchOptions, (err, members) -> callback err, members

    @listController.addListItems = @bound 'listMembers'

    @addSubView @listController.getView()

