Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

Category order in Search Results

Quote Reply
Category order in Search Results
Hi,

The categories in my search results don't display in alphabetical order. Here's a cut-down example from a search for 'Book':

Travel and Tourism :Train Travel :Ticket and Booking Services
Business :Companies :Books
Shopping and Services :Books :Booksellers
Shopping and Services :Books
Reference :Booksellers

... I'd like them like this ...

Business :Companies :Books
Reference :Booksellers
Shopping and Services :Books
Shopping and Services :Books :Booksellers
Travel and Tourism :Train Travel :Ticket and Booking Services

Here's the sort order settings I currently have in links.pm:

# The default sort orders for links.
$LINKS{build_sort_order_category} = "isTop,isNew,Title";
$LINKS{build_sort_order_new} = "Add_Date,Title";
$LINKS{build_sort_order_cool} = "Title";
$LINKS{build_sort_order_search} = "isNew,isTop,Title";

I assume (maybe incorrectly) that $LINKS{build_sort_order_search} is for how the links will look 'under' each sorted category displayed, rather than for the entire search results?

Would I need to reference the category name somewhere in $LINKS{build_sort_order_search} ?

Any help appreciated :)

All the best
Shaun

Subject Author Views Date
Thread Category order in Search Results qango 3364 Aug 11, 2000, 10:04 AM
Thread Re: Category order in Search Results
pugdog 3286 Aug 11, 2000, 10:09 AM
Thread Re: Category order in Search Results
qango 3264 Aug 14, 2000, 1:53 AM
Post Re: Category order in Search Results
jsu 3259 Aug 14, 2000, 2:16 AM