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

Search priority

Quote Reply
Search priority
Hi, I'm new in this forum, and I start with this interesting question:

- I added "Priority Field" in Links database.
I set
$LINKS{build_sort_order_search} = "Priority,Title,Description";
$LINKS{build_sort_order_category} = "Priority,Title";

I assigned on each link in the database priority "10" for all, and "0" for best.

When I "Build all", really links with lower priority come to the top of page in static pages;

But when I make search, the order of output is respected only inside the category where I make search, but global search is sorted by Alphabeth Order of categories. I tried also to get ride off from Categories suddivision, commenting $link_results .="<p>" . ..... in search.cgi but nothing better happend.

Hope someone can help me, if someone understand my fantastic english... :-)

Subject Author Views Date
Thread Search priority pirl 3202 Nov 3, 2000, 3:06 AM
Thread Re: Search priority
pugdog 3143 Nov 3, 2000, 6:21 AM
Thread Re: Search priority
pirl 3139 Nov 6, 2000, 1:20 AM
Post Re: Search priority
pugdog 3117 Nov 6, 2000, 5:42 AM