changeset 1088:35f6a46d7ff1

pages (tickets/new): fixed use of legacy "reporter" instead of "author"
author Goffi <goffi@goffi.org>
date Fri, 01 Jun 2018 12:50:41 +0200
parents 5d179a3dac50
children 3996acd7c796
files src/pages/tickets/new/page_meta.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/pages/tickets/new/page_meta.py	Wed May 23 21:55:13 2018 +0200
+++ b/src/pages/tickets/new/page_meta.py	Fri Jun 01 12:50:41 2018 +0200
@@ -22,7 +22,7 @@
     schema = yield self.host.bridge.ticketsSchemaGet(service.full(), node, profile)
     data['schema'] = schema
     # following fields are handled in backend
-    ignore = ('reporter', 'reporter_jid', 'reporter_email', 'created', 'updated', 'comments_uri', 'status', 'milestone', 'priority')
+    ignore = ('author', 'author_jid', 'author_email', 'created', 'updated', 'comments_uri', 'status', 'milestone', 'priority')
     xmlui_obj = template_xmlui.create(self.host, schema, ignore=ignore)
     try:
         # small trick to get a one line text input instead of the big textarea