comparison src/pages/tickets/page_meta.py @ 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 ed67265205c4
children cdd389ef97bc
comparison
equal deleted inserted replaced
1088:35f6a46d7ff1 1089:3996acd7c796
33 service, node = data[u'service'], data[u'node'] 33 service, node = data[u'service'], data[u'node']
34 profile = self.getProfile(request) or C.SERVICE_PROFILE 34 profile = self.getProfile(request) or C.SERVICE_PROFILE
35 35
36 self.checkCache(request, C.CACHE_PUBSUB, service=service, node=node, short='tickets') 36 self.checkCache(request, C.CACHE_PUBSUB, service=service, node=node, short='tickets')
37 37
38 tickets = yield self.host.bridgeCall('ticketsGet', service.full() if service else u'', node, C.NO_LIMIT, [], '', {}, profile) 38 tickets = yield self.host.bridgeCall('ticketsGet', service.full() if service else u'', node, C.NO_LIMIT, [], '', {'labels_as_list': C.BOOL_TRUE}, profile)
39 template_data[u'tickets'] = [template_xmlui.create(self.host, x) for x in tickets[0]] 39 template_data[u'tickets'] = [template_xmlui.create(self.host, x) for x in tickets[0]]
40 template_data[u'on_ticket_click'] = data_objects.OnClick(url=self.getSubPageURL(request, u'tickets_view') + u'/{item.id}') 40 template_data[u'on_ticket_click'] = data_objects.OnClick(url=self.getSubPageURL(request, u'tickets_view') + u'/{item.id}')