summaryrefslogtreecommitdiffstats
path: root/app/helpers/queries_helper.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2018-12-12 19:52:28 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2018-12-12 19:52:28 +0000
commite647e99b741ce0360ee479925009076f48d0d8a5 (patch)
treee4f9bf27a97cbae1842e7e3448c3055cfe5dad48 /app/helpers/queries_helper.rb
parent72980f41751a4d09c965733638572f799146e3e3 (diff)
downloadredmine-e647e99b741ce0360ee479925009076f48d0d8a5.tar.gz
redmine-e647e99b741ce0360ee479925009076f48d0d8a5.zip
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
Diffstat (limited to 'app/helpers/queries_helper.rb')
-rw-r--r--app/helpers/queries_helper.rb2
1 files changed, 1 insertions, 1 deletions
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)})"