[ic] Sorting/Searching

Ed LaFrance interchange-users@interchange.redhat.com
Tue Nov 27 15:15:01 2001


At 10:13 AM 11/27/2001 -0800, you wrote:
>I have a results page that I've implemented sorting on the columns. This
>works great when searching/sorting on all the products, but when I've
>narrowed down that search list, I still want them to be able to sort the
>columns just based off of the results of their search.  What's happening
>now, is that they end up sorting on the all the products again. How to I
>get the value of their previous search?
>
>For example if their search resulted in a URL showing:
>
>scan/fi=Tkt/st=db/sf=customerName/se=Adara
>
>How do I get the value of that URL?? I could then just append the
>additional search parameter for the column that they want to sort on.
>But I can't find the easiest way to do this.
>
>Any ideas???
>
>Thanks for any help,
>Dorothy

I've seen this type of question on the list (and answered) several times 
before... without any further info, the best thing I can recommend is to 
follow the example of column sorting techniqiues which are used in the 
UI.  Take a look at any of the UI "list" pages (all in 
VENDROOT/lib/UI/pages/admin/): item.html, order.html, etc.

- Ed L.

>

===============================================================
New Media E.M.S.               Software Solutions for Business
463 Main St., Suite D          eCommerce | Consulting | Hosting
Placerville, CA  95667         edl@newmediaems.com
(530) 622-9421                 http://www.newmediaems.com
(866) 519-4680 Toll-Free       (530) 622-9426 Fax
===============================================================