changeset 1089:3996acd7c796

pages (merge-requests, tickets): use new "labels_as_list" flag in extra
author Goffi <goffi@goffi.org>
date Fri, 01 Jun 2018 12:52:14 +0200
parents 35f6a46d7ff1
children 9c41b7e91172
files src/pages/merge-requests/page_meta.py src/pages/tickets/page_meta.py
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/pages/merge-requests/page_meta.py	Fri Jun 01 12:50:41 2018 +0200
+++ b/src/pages/merge-requests/page_meta.py	Fri Jun 01 12:52:14 2018 +0200
@@ -34,6 +34,6 @@
     service, node = data[u'service'], data[u'node']
     profile = self.getProfile(request) or C.SERVICE_PROFILE
 
-    merge_requests = yield self.host.bridge.mergeRequestsGet(service.full() if service else u'', node, C.NO_LIMIT, [], '', {}, profile)
+    merge_requests = yield self.host.bridge.mergeRequestsGet(service.full() if service else u'', node, C.NO_LIMIT, [], '', {'labels_as_list': C.BOOL_TRUE}, profile)
     template_data[u'tickets'] = [template_xmlui.create(self.host, x) for x in merge_requests[0]]
     template_data[u'on_ticket_click'] = data_objects.OnClick(url=self.getSubPageURL(request, u'merge-requests_view') + u'/{item.id}')
--- a/src/pages/tickets/page_meta.py	Fri Jun 01 12:50:41 2018 +0200
+++ b/src/pages/tickets/page_meta.py	Fri Jun 01 12:52:14 2018 +0200
@@ -35,6 +35,6 @@
 
     self.checkCache(request, C.CACHE_PUBSUB, service=service, node=node, short='tickets')
 
-    tickets = yield self.host.bridgeCall('ticketsGet', service.full() if service else u'', node, C.NO_LIMIT, [], '', {}, profile)
+    tickets = yield self.host.bridgeCall('ticketsGet', service.full() if service else u'', node, C.NO_LIMIT, [], '', {'labels_as_list': C.BOOL_TRUE}, profile)
     template_data[u'tickets'] = [template_xmlui.create(self.host, x) for x in tickets[0]]
     template_data[u'on_ticket_click'] = data_objects.OnClick(url=self.getSubPageURL(request, u'tickets_view') + u'/{item.id}')