Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [socrates] How To: search.cgi?catid=21&query= to return all links in the category?

Quote Reply
Re: [socrates] How To: search.cgi?catid=21&query= to return all links in the category? In reply to
Hi,

You could try editing /admin/User/Search.pm. Find:

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

and change to:

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

I think that is all I changed on my install.

Quote:
By the way, I posted in your support forum regarding some errors about your plugins and hope you can help (whenever you can, if you are busy now) to get those errors fixed sometime. Thanks!

You may be better posting them here :) I have not looked at that forum for a long time, as no one uses it any more.

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!
Subject Author Views Date
Thread How To: search.cgi?catid=21&query= to return all links in the category? socrates 9646 Feb 20, 2017, 9:45 PM
Thread Re: [socrates] How To: search.cgi?catid=21&query= to return all links in the category?
Andy 9413 Feb 20, 2017, 10:56 PM
Thread Re: [Andy] How To: search.cgi?catid=21&query= to return all links in the category?
socrates 9407 Feb 20, 2017, 11:45 PM
Thread Re: [socrates] How To: search.cgi?catid=21&query= to return all links in the category?
Andy 9407 Feb 20, 2017, 11:49 PM
Thread Re: [Andy] How To: search.cgi?catid=21&query= to return all links in the category?
socrates 9395 Feb 21, 2017, 1:23 AM
Thread Re: [socrates] How To: search.cgi?catid=21&query= to return all links in the category?
Andy 9385 Feb 21, 2017, 2:26 AM
Thread Re: [Andy] How To: search.cgi?catid=21&query= to return all links in the category?
socrates 9363 Feb 23, 2017, 12:53 AM
Thread Re: [socrates] How To: search.cgi?catid=21&query= to return all links in the category?
Andy 9354 Feb 23, 2017, 1:18 AM
Thread Re: [Andy] How To: search.cgi?catid=21&query= to return all links in the category?
socrates 9360 Feb 23, 2017, 2:26 AM
Thread Re: [socrates] How To: search.cgi?catid=21&query= to return all links in the category?
Andy 9345 Feb 23, 2017, 2:46 AM
Thread Re: [Andy] How To: search.cgi?catid=21&query= to return all links in the category?
socrates 9226 Feb 27, 2017, 12:44 AM
Post Re: [socrates] How To: search.cgi?catid=21&query= to return all links in the category?
Andy 9175 Feb 28, 2017, 12:38 AM