summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-04-23 09:10:55 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-04-23 09:10:55 +0000
commit66b9add002ab4616929f06bfef3197e23ed695fd (patch)
tree024c72a8da0126344f0abe717e417ff04261568f /app
parentfe1f7880581d0f449aa3bdaff12b9b1608511a7d (diff)
downloadredmine-66b9add002ab4616929f06bfef3197e23ed695fd.tar.gz
redmine-66b9add002ab4616929f06bfef3197e23ed695fd.zip
Don't show non member and anonymous groups in filter.
git-svn-id: http://svn.redmine.org/redmine/trunk@15348 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/controllers/users_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb
index cac19ea8b..5a7256d76 100644
--- a/app/controllers/users_controller.rb
+++ b/app/controllers/users_controller.rb
@@ -54,7 +54,7 @@ class UsersController < ApplicationController
respond_to do |format|
format.html {
- @groups = Group.all.sort
+ @groups = Group.givable.sort
render :layout => !request.xhr?
}
format.api