From: Toshi MARUYAMA Date: Mon, 27 Jan 2014 01:09:24 +0000 (+0000) Subject: remove unneeded Relation#all from IssueQuery model X-Git-Tag: 2.5.0~176 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9c7568c1a1d45ec65884fa9b5cded4a1325eb863;p=redmine.git remove unneeded Relation#all from IssueQuery model git-svn-id: http://svn.redmine.org/redmine/trunk@12724 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- 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 = []