diff --git a/app/models/issue.rb b/app/models/issue.rb index e5bb30e2..4bd6e240 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -43,7 +43,7 @@ class Issue < ActiveRecord::Base acts_as_attachable :after_add => :attachment_added, :after_remove => :attachment_removed acts_as_customizable acts_as_watchable - acts_as_searchable :columns => ['subject', "#{table_name}.description"], + acts_as_searchable :columns => ["#{table_name}.subject", "#{table_name}.description"], :preload => [:project, :status, :tracker], :scope => lambda {|options| options[:open_issues] ? self.open : self.all}