plugin schema: prepend a "publisher" field after "id" in getDataFormItems with published given by PubSub service
This commit is contained in:
parent
0b0bb0e2c9
commit
b3dcb3a490
1 changed files with 4 additions and 1 deletions
|
|
@ -239,7 +239,10 @@ class PubsubSchema(object):
|
|||
xmlui = xml_tools.dataFormResult2XMLUI(
|
||||
form,
|
||||
schema_form,
|
||||
prepend = (('label', 'id'),('text', item_elt['id'], u'id')),
|
||||
# FIXME: conflicts with schema (i.e. if "id" or "publisher" already exists)
|
||||
# are not checked
|
||||
prepend = (('label', 'id'),('text', item_elt['id'], u'id'),
|
||||
('label', 'publisher'),('text', item_elt.getAttribute('publisher',''), u'publisher')),
|
||||
filters = filters,
|
||||
)
|
||||
items_xmlui.append(xmlui)
|
||||
|
|
|
|||
Loading…
Reference in a new issue