[prev in list] [next in list] [prev in thread] [next in thread]
List: interchange-users
Subject: Re: [ic] "Sort by" in the results page
From: cfm () maine ! com
Date: 2002-01-30 23:17:12
[Download RAW message or body]
On Wed, Jan 30, 2002 at 04:53:46PM -0600, Jim Sustacek wrote:
> Here's what I have for column header links on my Results page to sort search \
> results:
> by [search region]:
> [if cgi ui_sort_field]
> [sort products:category:f products:db:f products:[cgi ui_sort_field]:f
at the very least this is missing a ']' to close
> [else]
> [sort products:category:f products:db:f]
> [/else]
> [/if]
>
> and in the column header definitions:
> [page href=@@MV_PAGE@@ form=`
> return "ui_sort_field=description\n" . sortrev('description');
> `]Description</A>
>
> I'm already sorting the search by the category & db fields, and if they click on \
> the "Description" header I'd like for it to sort by that also. Unfortunately, this \
> just puts a bunch of [sort products:category:f products:db:f] things on my Results \
> page, and the Description header link just gives an Error - no search specified. \
> Can I use these cgi things to set sorts? If so, what am i doing wrong? If not, \
> then how?
> Thanks--
> Jim Sustacek
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content/site management, online commerce, internet integration, Debian linux
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic