Commit 6f2c19320464c928e3dae0373a7af315bf5fb043
1 parent
e241d1e6
Exists in
master
and in
4 other branches
Fix issues search
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/controllers/issues_controller.rb
... | ... | @@ -114,7 +114,7 @@ class IssuesController < ApplicationController |
114 | 114 | when 2 then @project.issues.closed |
115 | 115 | when 3 then @project.issues.opened.assigned(current_user) |
116 | 116 | else @project.issues.opened |
117 | - end | |
117 | + end.page(params[:page]).per(100) | |
118 | 118 | |
119 | 119 | @issues = @issues.where("title LIKE ?", "%#{terms}%") unless terms.blank? |
120 | 120 | ... | ... |