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 @@ -74,6 +74,7 @@ class AdminUserGroupsView(BaseAppView, D route_name='user_groups_data', request_method='GET', renderer='json_ext', xhr=True) def user_groups_list_data(self): + self.load_default_context() column_map = { 'active': 'users_group_active', 'description': 'user_group_description', diff --git a/rhodecode/apps/admin/views/users.py b/rhodecode/apps/admin/views/users.py --- a/rhodecode/apps/admin/views/users.py +++ b/rhodecode/apps/admin/views/users.py @@ -81,6 +81,7 @@ class AdminUsersView(BaseAppView, DataGr route_name='users_data', request_method='GET', renderer='json_ext', xhr=True) def users_list_data(self): + self.load_default_context() column_map = { 'first_name': 'name', 'last_name': 'lastname', diff --git a/rhodecode/apps/home/views.py b/rhodecode/apps/home/views.py --- a/rhodecode/apps/home/views.py +++ b/rhodecode/apps/home/views.py @@ -54,6 +54,7 @@ class HomeView(BaseAppView): route_name='user_autocomplete_data', request_method='GET', renderer='json_ext', xhr=True) def user_autocomplete_data(self): + self.load_default_context() query = self.request.GET.get('query') active = str2bool(self.request.GET.get('active') or True) include_groups = str2bool(self.request.GET.get('user_groups')) @@ -87,6 +88,7 @@ class HomeView(BaseAppView): route_name='user_group_autocomplete_data', request_method='GET', renderer='json_ext', xhr=True) def user_group_autocomplete_data(self): + self.load_default_context() query = self.request.GET.get('query') active = str2bool(self.request.GET.get('active') or True) expand_groups = str2bool(self.request.GET.get('user_groups_expand')) @@ -202,6 +204,7 @@ class HomeView(BaseAppView): renderer='json_ext', xhr=True) def repo_list_data(self): _ = self.request.translate + self.load_default_context() query = self.request.GET.get('query') repo_type = self.request.GET.get('repo_type')