changeset 969:8943ee1cf3d7

page(tickets/new): ignore status as it makes sense to use default status on ticket creation
author Goffi <goffi@goffi.org>
date Thu, 09 Nov 2017 08:02:49 +0100
parents 4d37b23777c3
children bc28b9068f91
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	Thu Nov 09 08:02:47 2017 +0100
+++ b/src/pages/tickets/new/page_meta.py	Thu Nov 09 08:02:49 2017 +0100
@@ -20,7 +20,7 @@
     schema = yield self.host.bridge.ticketsSchemaGet(service.full(), node, profile)
     data['schema'] = schema
     # following fields are handled in backend
-    ignore = ('reporter', 'created', 'updated', 'comments_uri')
+    ignore = ('reporter', 'created', 'updated', 'comments_uri', 'status')
     xmlui_obj = template_xmlui.create(self.host, schema, ignore=ignore)
     request.template_data[u'new_ticket_xmlui'] = xmlui_obj