media asset: suppress 'modified' field by default
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@3255 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
2f317b3d1c
commit
2f126562fc
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ class FileSchemaFactory(SchemaFactory):
|
||||||
options = IOptions(self.context.type)
|
options = IOptions(self.context.type)
|
||||||
hide = options('hide_fields') or []
|
hide = options('hide_fields') or []
|
||||||
show = options('show_fields') or []
|
show = options('show_fields') or []
|
||||||
for f in ('contentType', 'externalAddress',):
|
for f in ('contentType', 'externalAddress', 'modified'):
|
||||||
if f in schema.fields and f not in show:
|
if f in schema.fields and f not in show:
|
||||||
schema.fields.remove(f)
|
schema.fields.remove(f)
|
||||||
for f in hide:
|
for f in hide:
|
||||||
|
|
Loading…
Add table
Reference in a new issue