provide separate method for retrieving query fields including the hidden ones, in order to be able to use hidden query fields for predefined selections
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@4218 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
d16ee0b16f
commit
24e552ee9a
1 changed files with 3 additions and 0 deletions
|
@ -92,6 +92,9 @@ class Report(Template):
|
|||
def components(self):
|
||||
return self.fields
|
||||
|
||||
def getAllQueryFields(self):
|
||||
return [f for f in self.fields if 'query' in f.executionSteps]
|
||||
|
||||
def getQueryFields(self, include=None, exclude=None):
|
||||
result = [f for f in self.fields if 'query' in f.executionSteps]
|
||||
if include:
|
||||
|
|
Loading…
Add table
Reference in a new issue