changeset 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 4aa38c49bff7
children 0f676f09404b
files src/pages/tickets/view/page_meta.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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: