diff options
| author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-03-22 20:09:47 +0200 |
|---|---|---|
| committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-03-22 20:09:47 +0200 |
| commit | 6f2c19320464c928e3dae0373a7af315bf5fb043 (patch) | |
| tree | c71f09a14f2c2fd1039475b67e06129bab0cc197 /app/controllers/issues_controller.rb | |
| parent | e241d1e6700f88ecd5aef481596fa1cc782841f0 (diff) | |
| download | gitlab-ce-6f2c19320464c928e3dae0373a7af315bf5fb043.tar.gz | |
Fix issues search
Diffstat (limited to 'app/controllers/issues_controller.rb')
| -rw-r--r-- | app/controllers/issues_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb index 4070f899a12..7a92fcfb183 100644 --- a/app/controllers/issues_controller.rb +++ b/app/controllers/issues_controller.rb @@ -114,7 +114,7 @@ class IssuesController < ApplicationController when 2 then @project.issues.closed when 3 then @project.issues.opened.assigned(current_user) else @project.issues.opened - end + end.page(params[:page]).per(100) @issues = @issues.where("title LIKE ?", "%#{terms}%") unless terms.blank? |
