[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: Re: Numerical sort on 'code' failing - ideas?
****** message to minivend-users from mediamob <mediamob@dnaco.net> ******
Date: Tue, 25 May 1999 19:19:09 -0400 (EDT)
From: mediamob <mediamob@dnaco.net>
To: minivend-users <owner-minivend-users@minivend.com>
Subject: Re: minivend-users V1 #187
>
> Date: Mon, 24 May 1999 21:40:12 -0400
> From: mikeh@minivend.com
> Subject: Re: Numerical sort on 'code' failing - ideas?
>
> ****** message to minivend-users from mikeh@minivend.com ******
>
> Quoting Ryan Hertz (rhertz@gyb.baits.com):
Actually, the original message came from me, Pat Santucci. I don't want to
give Ryan more trouble than he has already.
> > >[sort products:code:n]
>
> Code, assuming that is the key column in a MiniVend non-SQL database,
> is not a named field. Never has been. It is the key.
>
That makes sense - I didn't know about the ability to recognise field
numbers as well as names. So I can look for related items and not get into
similar trouble again, does that ability appear in the documentation?
> [sort products:0:n]
>
And now I don't know if I should be happy that my problem stumped the
author, or scared because there may be no good way around it. The above
line returns the same result as [sort products:code;n] did, i.e. alpha
order (1,10,2).
> Better yet is
>
> [loop search="ra=yes/tf=0/to=n/ml=100000"]
>
> which is much more efficient.
>
But returns an internal server error. The page will not load with this
code on it. Is there a 3.11 vs. 3.12 difference?
Help please-
Pat
-
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