Gossamer Forum
Home : Products : DBMan : Customization :

Sorting Results.....

Quote Reply
Sorting Results.....
OK.... to sort results alphabetically I know I should be using "so=ascend" on the field I am running the search on like this "...&sb=2&so=ascend". However, I am not sure where I need to place this? What sub in html.pl?

I also should have mentioned - we want to remove all of the search options and when a search is performed it would be returned
begining with the same field ( Last Name )and sorted alphabetically everytime.

Gosh - I figured it out ! Had to change the link to "List All" in the footer to "&sb=2" and then add a hidden field in html_view_search like this:

<input type="hidden" name="sb" value="2">

Everything now works like it should.

[This message has been edited by donm (edited August 16, 1999).]

[This message has been edited by donm (edited August 16, 1999).]
Quote Reply
Re: Sorting Results..... In reply to
Yay, Don!!! I love to see posts like that. Smile

------------------
JPD