On Fri, 10 Feb 2006 07:15:29 -0800, Rui Gamito
<[EMAIL PROTECTED]> wrote:
I've been trying to order a list of newsletter objects (plone gazette) by
their dateEmitted param, but I can't seem to access that value on the
sort_on option.
Here's my current tal:define, with the sort_on set to Date:
tal:define="newsletters
python:container.portal_catalog(portal_type='Newsletter',
sort_on='Date', sort_order='normal',review_state='published');
newsletters_ord python:sequence.sort(newsletters,
(('dateEmitted', 'cmp', 'asc'),));"
Please contact the PloneGazette developers, this is a Plone setup list. :)
--
_____________________________________________________________________
Alexander Limi · Chief Architect · Plone Solutions · Norway
Consulting · Training · Development · http://www.plonesolutions.com
_____________________________________________________________________
Plone Co-Founder · http://plone.org · Connecting Content
Plone Foundation · http://plone.org/foundation · Protecting Plone
_______________________________________________
Setup mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/setup