[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] sort problem
****** message to minivend-users from Kareef Huggins <xellos@netzero.net> ******
hmm, would zero filling your numbers work? like 001, 002, 003, 004, etc...
that way 002 will come before 010
just an idea...
Marcus Weseloh wrote:
> ****** message to minivend-users from "Marcus Weseloh" <marcus@connexions.co.uk> ******
>
> Hi,
>
> > Apparently the code field is considered a character field, so you are
> > getting character based sorting: 19 comes before 2, just like AZ comes
> > before B. There is probably a way to force a numeric sort, but I don't
> > have any pointers for you, time to starting digging through the docs again.
>
> As I understand the docs the way to force a numeric sort is the
> option "n". So a numeric sort of field 0 should be [sort
> products:0:n]. But that doesn't change anything.
>
> Cheers,
>
> Marcus
>
> ---
> Marcus Weseloh
> Webmaster & Developer
> Connexions http://design.connexions.co.uk
> -
> To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
> email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
> Archive of past messages: http://www.minivend.com/minivend/minivend-list
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list