summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-04-04 17:19:55 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-04-04 17:19:55 +0000
commit41cb7a3a55261c4497ea42510ab6753cac365409 (patch)
treeaeec40e0a0bb94dbeff329e6d3c54fd4922329bc
parent88a3a351d08b5446317c1813cf2b966aa5f716fb (diff)
downloadredmine-41cb7a3a55261c4497ea42510ab6753cac365409.tar.gz
redmine-41cb7a3a55261c4497ea42510ab6753cac365409.zip
Let the issue list be grouped by private flag.
git-svn-id: http://svn.redmine.org/redmine/trunk@16476 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/models/issue_query.rb2
1 files changed, 1 insertions, 1 deletions
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$/, '')}