I search a way to do a searchResults with a min/max date criteria. like this: portal_catalog.searchResults( meta_type='News Item' , sort_on='Date' , sort_order='reverse' , review_state='published' <<< , Date > myDate >>> )) Do you know the right syntax for this? ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Courrier : http://courrier.yahoo.fr
=?iso-8859-1?Q?Joel_Brueziere?= writes:
I search a way to do a searchResults with a min/max date criteria. like this:
portal_catalog.searchResults( meta_type='News Item' , sort_on='Date' , sort_order='reverse' , review_state='published' <<< , Date > myDate >>> )) Look at the Zope book or
<http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html> Look for "ZCatalog" and "range queries"... Dieter
participants (2)
-
Dieter Maurer -
Joel Brueziere