allow for hidden query fields

git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@4033 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
helmutm 2010-10-07 08:18:35 +00:00
parent 8e65999dfb
commit 74afbba15a

View file

@ -74,6 +74,7 @@ class Report(Template):
manager = None
fields = Jeep((field.label,))
hiddenQueryFields = ()
defaultOutputFields = (field.label,)
defaultSortCriteria = (field.label,)
presentationFormat = None
@ -97,7 +98,7 @@ class Report(Template):
result = [f for f in result if f.fieldType in include]
if exclude:
result = [f for f in result if f.fieldType not in exclude]
return result
return [f for f in result if f not in self.hiddenQueryFields]
def getOutputFields(self):
return [f for f in self.fields if 'output' in f.executionSteps]