Show More
@@ -329,13 +329,14 b' class IntegrationSettingsViewBase(object' | |||||
329 |
|
329 | |||
330 | integrations = [] |
|
330 | integrations = [] | |
331 |
|
331 | |||
332 | for integration in IntegrationModel().get_integrations( |
|
332 | for IntType, integration in IntegrationModel().get_integrations( | |
333 | scope=scope, IntegrationType=self.IntegrationType): |
|
333 | scope=scope, IntegrationType=self.IntegrationType): | |
334 |
|
334 | |||
335 | # extra permissions check *just in case* |
|
335 | # extra permissions check *just in case* | |
336 | if not self._has_perms_for_integration(integration): |
|
336 | if not self._has_perms_for_integration(integration): | |
337 | continue |
|
337 | continue | |
338 | integrations.append(integration) |
|
338 | ||
|
339 | integrations.append((IntType, integration)) | |||
339 |
|
340 | |||
340 | sort_arg = self.request.GET.get('sort', 'name:asc') |
|
341 | sort_arg = self.request.GET.get('sort', 'name:asc') | |
341 | if ':' in sort_arg: |
|
342 | if ':' in sort_arg: |
General Comments 0
You need to be logged in to leave comments.
Login now