diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-02-24 21:05:14 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-02-24 21:05:14 +0000 |
commit | b2dee55e72f48c67235e3eb0f407aab96cf68421 (patch) | |
tree | d821d1d814f0714fb468cf9748e8857340a4d3db /app/models | |
parent | d581510af605dc25662a5fa8af936b7b4ea35a2b (diff) | |
download | redmine-b2dee55e72f48c67235e3eb0f407aab96cf68421.tar.gz redmine-b2dee55e72f48c67235e3eb0f407aab96cf68421.zip |
Makes project identifiers searchable (#4897).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3481 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/project.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project.rb b/app/models/project.rb index 394173515..da3634ab2 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -56,7 +56,7 @@ class Project < ActiveRecord::Base :delete_permission => :manage_files acts_as_customizable - acts_as_searchable :columns => ['name', 'description'], :project_key => 'id', :permission => nil + acts_as_searchable :columns => ['name', 'identifier', 'description'], :project_key => 'id', :permission => nil acts_as_event :title => Proc.new {|o| "#{l(:label_project)}: #{o.name}"}, :url => Proc.new {|o| {:controller => 'projects', :action => 'show', :id => o.id}}, :author => nil |