green specs
This commit is contained in:
parent
7b36b8d130
commit
415eddaf39
2 changed files with 2 additions and 4 deletions
|
@ -96,7 +96,7 @@ class IssuesController < ApplicationController
|
|||
else @project.issues.opened
|
||||
end
|
||||
|
||||
@issues = @issues.where("title LIKE ? OR content LIKE ?", "%#{terms}%", "%#{terms}%") unless terms.blank?
|
||||
@issues = @issues.where("title LIKE ?", "%#{terms}%") unless terms.blank?
|
||||
|
||||
render :partial => 'issues'
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue