Displaying 1 result from an estimated 1 matches for "search_for_ids".
2010 Dec 02
0
Thinking Sphinx sorting problem
...(THI) MIQ - THI and this is what is indexed.
In my controller, I have a search action:
----------------------------------------------------------
def search
@searched = params[:search]
@sort = params[:sort_by].to_i
@filter = params[:filter_by].to_i
application_ids = Application.search_for_ids(@searched,
:select => "id, applicant_id",
:group_by => ''applicant_id'', :group_function => :attr,
:with => Application.filter_for_search(@filter, @season),
:sort_mode => :extended,
:order => Application::Search::SortBy::SPHI...