Project

General

Profile

Defect #16239 » search.diff

Darth Vader, 2014-04-07 18:24

View differences:

app/controllers/search_controller.rb 2014-04-07 11:03:24.561789400 -0500
r, c = s.singularize.camelcase.constantize.search(@tokens, projects_to_search,
:all_words => @all_words,
:titles_only => @titles_only,
:limit => (limit+1),
# do not limit the number of search results as we need the full search set to sort properly :limit => (limit+1),
:offset => offset,
:before => params[:previous].nil?)
@results += r
(3-3/3)