[Zope] Code question
Dieter Maurer
dieter@handshake.de
Fri, 14 Mar 2003 23:15:41 +0100
Gunnar Kongsrud wrote at 2003-3-14 15:39 +0100:
> Hi, I have a question about a code in pyhton. If the code below make my articals sort automatacly articals after 01.01.2003 ho do i get it to sort articals from 01.01.2001 to 01.01.2002 by using a simular code?
>
> python:object.portal_catalog(meta_type='Artikkel', level=object.level(), sort_on='Date', Date=['2003-01-01'],sort_order='reverse', Date_usage='range:min')
You put 2 dates in the list used as value of the "Date" parameter
and you use "range:min:max".
Dieter