MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

RE: Sorting search results



******    message to minivend-users from "Thompson-Jordan" <Thompson-Jordan@mindspring.com>     ******

> ******    message to minivend-users from Pumin Wuvanich
> <pumin@madmacs.com>     ******
>
> >The [sort] tag only seems to work on the list on the page. To sort
> >everything returned by a search add a "tf=myfieldtosortby" in searh
> >parameters (that's mv_sort_field for forms). I wasted many days
> figuring
> >this out.
> >Christopher Thompson
>
> tf=fieldtosort    works for all fields in my product.asc except 'code'
> field.  Now i'm stuck and don't know how to let the search result sorted
> by code.

I use GDBM databases and have found that they only work right when the the
ASC file is sorted by field/column 0. So searches on code don't need to be
sorted because they already are. I don't know if the various flavors of
SQL have a default sort.

>
> here is my code, which works fine.
>
> [search-region arg="
> ra=yes
> tf=title
> "]
>
> here is my code, which doesn't works.
>
> [search-region arg="
> ra=yes
> tf=title
> "]
>
> any thoughts?

My only thought is that they are identical. Typo?

Christopher Thompson


-
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


Search for: Match: Format: Sort by: