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
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