Fix issues search
This commit is contained in:
parent
e241d1e670
commit
6f2c193204
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ class IssuesController < ApplicationController
|
||||||
when 2 then @project.issues.closed
|
when 2 then @project.issues.closed
|
||||||
when 3 then @project.issues.opened.assigned(current_user)
|
when 3 then @project.issues.opened.assigned(current_user)
|
||||||
else @project.issues.opened
|
else @project.issues.opened
|
||||||
end
|
end.page(params[:page]).per(100)
|
||||||
|
|
||||||
@issues = @issues.where("title LIKE ?", "%#{terms}%") unless terms.blank?
|
@issues = @issues.where("title LIKE ?", "%#{terms}%") unless terms.blank?
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue