Hi all.

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'),));"



_______________________________________________
Setup mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/setup

Reply via email to