Gossamer Forum
Home : Products : Gossamer Links : Pre Sales :

Number of Links per page in search result

Quote Reply
Number of Links per page in search result
Hi,
How to modify the number of links in search result?
KK

Quote Reply
Re: Number of Links per page in search result In reply to
Look for the following codes in the search.cgi file:

Code:

($in->param('mh') =~ /^(10|25|50|100)$/) ? ($mh = $1) : ($mh = 25);


Change 25 to whatever number you want.

Regards,

Regards,

AnthroRules
Quote Reply
Re: Number of Links per page in search result In reply to
Or alternatively, add it to your form:

<input type=hidden name=mh value="100">

to return 100 hits. Note: the script only accepts values of 10, 25, 50 or 100 currently.

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Thanks In reply to
Thx AnthroRules & Alex,

I found and got what I want to do!
Thank you very much!!

By the way Alex, Will new update of LinkSQL support "AND" in search-ni.cgi?