Mercurial > libervia-web
diff src/pages/tickets/view/page_meta.py @ 975:75166ac3e0cc
pages (tickets/view): ignore publisher when creating XMLUI
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 11 Nov 2017 18:40:31 +0100 |
parents | 4d1dcf97740f |
children | 97cce8c1e96a |
line wrap: on
line diff
--- a/src/pages/tickets/view/page_meta.py Sat Nov 11 17:16:46 2017 +0100 +++ b/src/pages/tickets/view/page_meta.py Sat Nov 11 18:40:31 2017 +0100 @@ -38,7 +38,7 @@ template_data['profile'] = profile tickets = yield self.host.bridge.ticketsGet(service.full() if service else u'', node, C.NO_LIMIT, [ticket_id], '', {}, profile) - ticket = [template_xmlui.create(self.host, x) for x in tickets[0]][0] + ticket = [template_xmlui.create(self.host, x, ignore=['publisher']) for x in tickets[0]][0] template_data[u'item'] = ticket comments_uri = ticket.widgets['comments_uri'].value if comments_uri: