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

How can I set number of search result

Quote Reply
How can I set number of search result
Hi everyone,

Can anyone tell me how can I limit the number of result when searching. Help really appreciate...Thank you.
Quote Reply
Re: How can I set number of search result In reply to
Thanks Alexander.
Quote Reply
Re: How can I set number of search result In reply to
Hi,

If you use the template search.html there is a field named "mh" where you can select the number of results.

If you use a quick search where only the search field is visible you can add a hidden field with the name "mh" and value="num of results".

If you use a link for a predefined search give it a reference of

<%db_cgi_url%>/search.cgi?query="search terms" mh="num of results"

Alexander