Show More
@@ -74,6 +74,7 b' class AdminUserGroupsView(BaseAppView, D' | |||
|
74 | 74 | route_name='user_groups_data', request_method='GET', |
|
75 | 75 | renderer='json_ext', xhr=True) |
|
76 | 76 | def user_groups_list_data(self): |
|
77 | self.load_default_context() | |
|
77 | 78 | column_map = { |
|
78 | 79 | 'active': 'users_group_active', |
|
79 | 80 | 'description': 'user_group_description', |
@@ -81,6 +81,7 b' class AdminUsersView(BaseAppView, DataGr' | |||
|
81 | 81 | route_name='users_data', request_method='GET', |
|
82 | 82 | renderer='json_ext', xhr=True) |
|
83 | 83 | def users_list_data(self): |
|
84 | self.load_default_context() | |
|
84 | 85 | column_map = { |
|
85 | 86 | 'first_name': 'name', |
|
86 | 87 | 'last_name': 'lastname', |
@@ -54,6 +54,7 b' class HomeView(BaseAppView):' | |||
|
54 | 54 | route_name='user_autocomplete_data', request_method='GET', |
|
55 | 55 | renderer='json_ext', xhr=True) |
|
56 | 56 | def user_autocomplete_data(self): |
|
57 | self.load_default_context() | |
|
57 | 58 | query = self.request.GET.get('query') |
|
58 | 59 | active = str2bool(self.request.GET.get('active') or True) |
|
59 | 60 | include_groups = str2bool(self.request.GET.get('user_groups')) |
@@ -87,6 +88,7 b' class HomeView(BaseAppView):' | |||
|
87 | 88 | route_name='user_group_autocomplete_data', request_method='GET', |
|
88 | 89 | renderer='json_ext', xhr=True) |
|
89 | 90 | def user_group_autocomplete_data(self): |
|
91 | self.load_default_context() | |
|
90 | 92 | query = self.request.GET.get('query') |
|
91 | 93 | active = str2bool(self.request.GET.get('active') or True) |
|
92 | 94 | expand_groups = str2bool(self.request.GET.get('user_groups_expand')) |
@@ -202,6 +204,7 b' class HomeView(BaseAppView):' | |||
|
202 | 204 | renderer='json_ext', xhr=True) |
|
203 | 205 | def repo_list_data(self): |
|
204 | 206 | _ = self.request.translate |
|
207 | self.load_default_context() | |
|
205 | 208 | |
|
206 | 209 | query = self.request.GET.get('query') |
|
207 | 210 | repo_type = self.request.GET.get('repo_type') |
General Comments 0
You need to be logged in to leave comments.
Login now