--On 27. September 2007 15:37:33 -0400 [EMAIL PROTECTED] wrote:

I want to do something like this in my Page Template:
mysql> select * from products order by name, newRow;

Now, I know I can do this:

tal:define="items python:sequence.sort(items, (('name', 'cmp', 'asc'),))"

but that only orders by name, not by name *and* newRow. Any ideas?

YES! You read the fine documentation:



Attachment: pgpRwMn7NR13K.pgp
Description: PGP signature

Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to