# HG changeset patch # User Marcin Kuzminski # Date 2018-03-30 12:21:15 # Node ID 6e24e065a9b227f4c4d5ea829f92c2f9ceee97b6 # Parent 465c98d6c27c26e7dbec8e7e87b088785ad70cfa user-groups: fix sync flag extraction. diff --git a/rhodecode/apps/admin/views/user_groups.py b/rhodecode/apps/admin/views/user_groups.py --- a/rhodecode/apps/admin/views/user_groups.py +++ b/rhodecode/apps/admin/views/user_groups.py @@ -159,7 +159,8 @@ class AdminUserGroupsView(BaseAppView, D "members": user_gr.member_count, # NOTE(marcink): because of advanced query we # need to load it like that - "sync": UserGroup._load_sync(user_gr.group_data), + "sync": UserGroup._load_sync( + UserGroup._load_group_data(user_gr.group_data)), "active": h.bool2icon(user_gr.users_group_active), "owner": user_profile(user_gr.User.username), "action": user_group_actions(