[Zope-CMF] Merging two catalog searches...
Braun Brelin
bbrelin at openapp.biz
Tue Dec 23 09:30:19 EST 2003
Hello all, I have a function that looks like this:
tal:define="results python:container.portal_catalog(meta_type='News
Item',
sort_on='created',
sort_order='reverse',
expires =
{'query': here.ZopeTime(), 'range': 'min'},
review_state='published)"
The ZPT then goes on to manipulate the results variable (iterates over
it etc.).
What I want to do is have results contain two portal_catalog searches,
each with a different meta_type.
How can I do this?
Thanks,
Braun Brelin
More information about the Zope-CMF
mailing list