Gossamer Forum
Home : Products : Gossamer Links : Discussions :

search.cgi?catid=xxx

Quote Reply
search.cgi?catid=xxx
Hi,

I'm trying to do something like:

http://www.domain.com/cgi-bin/search.cgi?catid=2

Now, from looking in Search.pm, I found:

Code:
return search() if defined $args->{query} and $args->{query} =~ /\S/;

...I've changed this to:

Code:
return search() if defined (($args->{query} =~ /\S/ && $args->{query}) || $IN->param('catid'));

Maybe this could be a fix? I'm sure lots of other people wanna do basic searches (like I'm doing, with a dropdown)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!