From 9c7568c1a1d45ec65884fa9b5cded4a1325eb863 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Mon, 27 Jan 2014 01:09:24 +0000 Subject: [PATCH] remove unneeded Relation#all from IssueQuery model git-svn-id: http://svn.redmine.org/redmine/trunk@12724 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/issue_query.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = [] -- 2.39.5