From: Jean-Philippe Lang Date: Mon, 20 Oct 2014 21:47:43 +0000 (+0000) Subject: Fixed tests broken by r13461. X-Git-Tag: 3.0.0~494 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=78120536b15e723feacb1552396d85665010d8eb;p=redmine.git Fixed tests broken by r13461. git-svn-id: http://svn.redmine.org/redmine/trunk@13466 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/models/issue.rb b/app/models/issue.rb index 5f8a0af2c..05282faa1 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -1224,7 +1224,7 @@ class Issue < ActiveRecord::Base Issue. visible(User.current, :project => options[:project], :with_subprojects => options[:with_subprojects]). - joins(:status). + joins(:status, assoc.name). group(:status_id, :is_closed, select_field). count. map do |columns, total|