From 41cb7a3a55261c4497ea42510ab6753cac365409 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Tue, 4 Apr 2017 17:19:55 +0000 Subject: [PATCH] Let the issue list be grouped by private flag. git-svn-id: http://svn.redmine.org/redmine/trunk@16476 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/issue_query.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/issue_query.rb b/app/models/issue_query.rb index 94a47e3fe..72a9728df 100644 --- a/app/models/issue_query.rb +++ b/app/models/issue_query.rb @@ -206,7 +206,7 @@ class IssueQuery < Query if User.current.allowed_to?(:set_issues_private, nil, :global => true) || User.current.allowed_to?(:set_own_issues_private, nil, :global => true) - @available_columns << QueryColumn.new(:is_private, :sortable => "#{Issue.table_name}.is_private") + @available_columns << QueryColumn.new(:is_private, :sortable => "#{Issue.table_name}.is_private", :groupable => true) end disabled_fields = Tracker.disabled_core_fields(trackers).map {|field| field.sub(/_id$/, '')} -- 2.39.5