diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-01-27 01:09:24 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-01-27 01:09:24 +0000 |
commit | 9c7568c1a1d45ec65884fa9b5cded4a1325eb863 (patch) | |
tree | 85b5700880f9d2889bf89c01c18a21feffaf24b9 /app/models | |
parent | ea8e5c74ec493669e315b85729615e06f853d002 (diff) | |
download | redmine-9c7568c1a1d45ec65884fa9b5cded4a1325eb863.tar.gz redmine-9c7568c1a1d45ec65884fa9b5cded4a1325eb863.zip |
remove unneeded Relation#all from IssueQuery model
git-svn-id: http://svn.redmine.org/redmine/trunk@12724 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/issue_query.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/issue_query.rb b/app/models/issue_query.rb index e60ab9e78..582f3cb4c 100644 --- a/app/models/issue_query.rb +++ b/app/models/issue_query.rb @@ -150,7 +150,7 @@ class IssueQuery < Query users = principals.select {|p| p.is_a?(User)} add_available_filter "status_id", - :type => :list_status, :values => IssueStatus.sorted.all.collect{|s| [s.name, s.id.to_s] } + :type => :list_status, :values => IssueStatus.sorted.collect{|s| [s.name, s.id.to_s] } if project.nil? project_values = [] |