appy.pod: improved html2odt conversion; appy.gen: added CSS tooltips and bugfix while querying several content type at once.
This commit is contained in:
parent
39d68f6490
commit
1bb4dbf20a
12 changed files with 712 additions and 645 deletions
gen/plone25/mixins
|
@ -911,6 +911,8 @@ class ToolMixin(BaseMixin):
|
|||
def getResultPodFields(self, contentType):
|
||||
'''Finds, among fields defined on p_contentType, which ones are Pod
|
||||
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) \
|
||||
if (f.type == 'Pod') and (f.show == 'result')]
|
||||
# ------------------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue