[gen] Bugfixes.
This commit is contained in:
parent
c002b5cb59
commit
fe56ee27a0
10 changed files with 19 additions and 18 deletions
|
@ -1263,7 +1263,7 @@ class ToolMixin(BaseMixin):
|
|||
fields that need to be shown on a page displaying query results.'''
|
||||
# Skip this if we are searching multiple content types.
|
||||
if ',' in contentType: return ()
|
||||
return [f.__dict__ for f in self.getAllAppyTypes(contentType) \
|
||||
return [f for f in self.getAllAppyTypes(contentType) \
|
||||
if (f.type == 'Pod') and (f.show == 'result')]
|
||||
|
||||
def formatDate(self, aDate, withHour=True):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue