From e647e99b741ce0360ee479925009076f48d0d8a5 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Wed, 12 Dec 2018 19:52:28 +0000 Subject: Allow issues grouping by creation, update and closing date (#13803). Implemented for PostgreSQL only for now. git-svn-id: http://svn.redmine.org/redmine/trunk@17724 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/queries_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/helpers/queries_helper.rb') diff --git a/app/helpers/queries_helper.rb b/app/helpers/queries_helper.rb index 01d10d883..261291727 100644 --- a/app/helpers/queries_helper.rb +++ b/app/helpers/queries_helper.rb @@ -128,7 +128,7 @@ module QueriesHelper items.each do |item| group_name = group_count = nil if query.grouped? - group = query.group_by_column.value(item) + group = query.group_by_column.group_value(item) if first || group != previous_group if group.blank? && group != false group_name = "(#{l(:label_blank_value)})" -- cgit v1.2.3