D'oh yeah you're right. Perhaps I should have tested with more than just
two items.
Works like a champ!
Don.
On Tue, 24 Jun 2003, Steven Levin wrote:
> Don,
>
> The Manager currently builds sorts into the SQL statement it generates.
> So you should only provide the sort links for values that have columns
> in
> the database. Because the sort is in the SQL statement it will be sorting
> on the int in the database not the translated string. I think this is how
> it should work and you should end up with the same results.
>
> Steven
>
> > According to my brief tests when I use the new Item/Manager functionality
> > to change a value, then the sorting is done on the changed value, not the
> > original.
> >
> > Meaing if I had a unix timestamp int that I wanted to sort, but was having
> > a getxxx() function interpret it as "Jul 28, 1976", that string is what
> > gets sorted not the int value, which is what SHOULD be sorted.
> >
> > Am I right?
> >
> > Don.
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: INetU
> > Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> > _______________________________________________
> > Phpwebsite-developers mailing list
> > Php...@li...
> > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers
> >
>
>
>
|