[Erp5-dev] Sorting listboxes' columns using 'integer' sort

Jean-Paul Smets jp at nexedi.com
Thu Apr 12 10:26:36 CEST 2007


Le mercredi 11 avril 2007 18:31, Mikolaj Antoszkiewicz a écrit :
> I know it is possible to make portal_catalog sort the data it retrieves
> by the integer field, by forcing 'int' conversion of the sorted field.
>
> Is it possible to make listbox do the same, i.e. sort by numerical ID in
> '1 2 3 4 10' fashion rather than '1 10 2 3 30' ? And how that can be
> achieved? Is it something to do with Default Sort property?

There should be both a sort button to configure this and a default sort 
option in the listbox.

JPS.

>
> Mikolaj
>
> P.S. The List Method is a custom script not a
> portal_catalog/searchFolder...
> _______________________________________________
> Erp5-dev mailing list
> Erp5-dev at erp5.org
> http://erp5.org/mailman/listinfo/erp5-dev

-- 
Jean-Paul Smets-Solanes, Nexedi CEO - Tel. +33(0)6 62 05 76 14
Nexedi: Consulting and Development of Libre / Open Source Software
http://www.nexedi.com
ERP5: Libre/ Open Source ERP Software for small and medium companies
http://www.erp5.org
Rentalinux: Desktop Linux Server
http://www.rentalinux.com



More information about the Erp5-dev mailing list