From 78120536b15e723feacb1552396d85665010d8eb Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Mon, 20 Oct 2014 21:47:43 +0000 Subject: [PATCH] Fixed tests broken by r13461. git-svn-id: http://svn.redmine.org/redmine/trunk@13466 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/issue.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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| -- 2.39.5