green specs

This commit is contained in:
Nihad Abbasov 2011-11-15 12:13:59 +04:00
parent 7b36b8d130
commit 415eddaf39
2 changed files with 2 additions and 4 deletions

View file

@ -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