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
74 74
        r, c = s.singularize.camelcase.constantize.search(@tokens, projects_to_search,
75 75
          :all_words => @all_words,
76 76
          :titles_only => @titles_only,
77
          :limit => (limit+1),
77
# do not limit the number of search results as we need the full search set to sort properly         :limit => (limit+1),
78 78
          :offset => offset,
79 79
          :before => params[:previous].nil?)
80 80
        @results += r
(3-3/3)