Tuesday 26 October 2004 9:17:57 am
Hi there, I have a strange issue with a custom list sorting - could be a bug or perhaps I've hammed something together incorrectly...? I have a text line field in my class called 'salary sorter' with an id of 305. In my fetch I have the line sort_by, array(array('attribute',false(),305))
which gets the resulting list to sort by this attribute. All works fine for numbers from 1-99 - as you'd expect, higher numbers appear at the top of the list etc - but as soon as you get to 100 or over, these get placed at the bottom of the list under the lower sort values... If this isnt a bug I guess it might the fact that I've used a text line instead of a numerically orientated datatype, but its just plain integers being used to sort the list much like the 'priority' sort type. Anyone got any ideas? Many thanks, Steve.
http://www.oneworldmarket.co.uk
|