Skip to content
Snippets Groups Projects
Commit 6f2c1932 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Fix issues search

parent e241d1e6
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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?
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment