Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Listings Manager Add-ons:
Search order

 

 


damsel
User

Jul 25, 2006, 11:36 AM

Post #1 of 2 (1995 views)
Shortcut
Search order Can't Post

Hello!

I have my search order setup (for homepage listings) but for some reason can't sort on the name. The name is not a listed field in the "Homepage database fields". How can I sort on this field?

http://www.edcstlucie.org/cgi-bin/rm/exec/search_homepage.cgi

Thanks!
Samantha


Donna
Staff / Moderator


Jul 26, 2006, 1:59 PM

Post #2 of 2 (1986 views)
Shortcut
Re: [damsel] Search order [In reply to] Can't Post

Hi Damsel!

Try searching on field -28 (the minus is important!)

So, the query will look like this:

http://www.edcstlucie.org/cgi-bin/rm/exec/search_homepage.cgi?search=1&sort_order=-28,abc,forward

By default, the homepage sort will sort in order they were added. Or, you can sort on any of the hfields. Since this starts at hfield number 1, I opened up the data field, and counted back how many fields were between the name and hfield 1. The lucky number was 28, therefore this sort order tells it to go back 28 fields from hfield 1, and sorts on the name. :)

Let me know if you have any other questions or concerns. :)

Donna

--
support@interactivetools.com