Mercurial > libervia-web
diff src/pages/tickets/page_meta.py @ 1007:c1c74d97a691
pages(tickets): use bridgeCall instead of bridge
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 12 Jan 2018 15:42:58 +0100 |
parents | 7fdd24014aa4 |
children | b39c527f208c |
line wrap: on
line diff
--- a/src/pages/tickets/page_meta.py Sat Jan 06 12:37:56 2018 +0100 +++ b/src/pages/tickets/page_meta.py Fri Jan 12 15:42:58 2018 +0100 @@ -56,6 +56,6 @@ service, node = data[u'service'], data[u'node'] profile = self.getProfile(request) or C.SERVICE_PROFILE - tickets = yield self.host.bridge.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, [], '', {}, 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, 'tickets_view', '{item.id}'))