Problem with custom sorting - possible bug?

Author Message

steve walker

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

steve walker

Monday 01 November 2004 4:26:30 am

Hi.

Given no reponses on this I guess I should report it as bug?

Steve.

http://www.oneworldmarket.co.uk

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.