[Zope] Sequence sorting module from a Python script

Andreas Jung lists at andreas-jung.com
Sun Apr 24 23:30:12 EDT 2005



--On Sonntag, 24. April 2005 17:36 Uhr -0400 Leticia Larrosa 
<LETICIA at tesla.cujae.edu.cu> wrote:
> sort_on =(('self', test, 'desc'))

As documented the 'sort_on_ parameter must be a *sequence* of sorting 
definitions and a *single* sorting
definition. This should work:

  sort_on =(('self', test, 'desc'),)

-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20050425/5f77a307/attachment.bin


More information about the Zope mailing list