diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-04-23 09:10:55 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-04-23 09:10:55 +0000 |
commit | 66b9add002ab4616929f06bfef3197e23ed695fd (patch) | |
tree | 024c72a8da0126344f0abe717e417ff04261568f /app | |
parent | fe1f7880581d0f449aa3bdaff12b9b1608511a7d (diff) | |
download | redmine-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.rb | 2 |
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 |