Python code!
Peter Hansen
peter at engcorp.com
Fri Mar 14 08:52:11 EST 2003
Gunnar Kongsrud wrote:
>
> 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')
This is not a Python question, it's a Zope question. Better
check the Zope mailing list, or if there's one for the
specific product used (CMF?) then ask on it instead.
-Peter
More information about the Python-list
mailing list