Commit ee50ba4e7f145d93708c70294bcee2e177308f91
Committed by
Arthur Esposte
1 parent
5ff0efc1
Exists in
master
and in
5 other branches
Fix search controller to stop breaking the core tests
Signed-off-by: Gabriela Navarro <navarro1703@gmail.com>
Showing
1 changed file
with
0 additions
and
1 deletions
Show diff stats
lib/ext/search_controller.rb
@@ -8,7 +8,6 @@ class SearchController | @@ -8,7 +8,6 @@ class SearchController | ||
8 | results = @searches[@asset][:results] | 8 | results = @searches[@asset][:results] |
9 | 9 | ||
10 | results = results.each {|community| !community.software?} | 10 | results = results.each {|community| !community.software?} |
11 | - results = results.paginate(:per_page => 24, :page => params[:page]) | ||
12 | @searches[@asset] = {:results => results} | 11 | @searches[@asset] = {:results => results} |
13 | @search = results | 12 | @search = results |
14 | end | 13 | end |