changeset 976:0f676f09404b

pages (tickets/new): ignore milestone and priority on new ticket (those field should be set by node owner)
author Goffi <goffi@goffi.org>
date Sat, 11 Nov 2017 18:57:01 +0100
parents 75166ac3e0cc
children d0de2a98e852
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	Sat Nov 11 18:40:31 2017 +0100
+++ b/src/pages/tickets/new/page_meta.py	Sat Nov 11 18:57:01 2017 +0100
@@ -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', 'created', 'updated', 'comments_uri', 'status')
+    ignore = ('reporter', '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