]> source.dussan.org Git - redmine.git/commitdiff
remove unneeded Relation#all from IssueQuery model
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 27 Jan 2014 01:09:24 +0000 (01:09 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 27 Jan 2014 01:09:24 +0000 (01:09 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@12724 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/issue_query.rb

index e60ab9e7825b0d118bde15ed28801f99a1b86ab5..582f3cb4ca61385d966173d248fa8dcd699c476a 100644 (file)
@@ -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 = []