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

Mikolaj Antoszkiewicz mikolaj at erp5.pl
Wed Apr 11 18:31:08 CEST 2007


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?

Mikolaj

P.S. The List Method is a custom script not a portal_catalog/searchFolder...



More information about the Erp5-dev mailing list