[Zope] Zope Catalog sorting

Andreas Jung lists at zopyx.com
Sat May 29 02:27:41 EDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Giampiero Benvenuti wrote:
> Hello,
> 
> I have a simple/silly question:
> 
> how can you sort the Catalog results with 2 parameters? Es:  
> sort_on='last_name', sort_on='first_name'... in the old days was  
> simple: sort='last_name, first_name'
>

no - use sequence.sort() instead.

- -aj
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwAs9wACgkQCJIWIbr9KYyeAwCfbyMdwIgT9TIWuh+Cd4p7dw3l
IooAoM+QBIIfZNifIs3aI6a2q0u+B8PG
=qE2n
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.vcf
Type: text/x-vcard
Size: 316 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20100529/745088e6/attachment.vcf 


More information about the Zope mailing list