Jan 12, 2015, 6:04 AM
Veteran / Moderator (18436 posts)
Jan 12, 2015, 6:04 AM
Post #2 of 3
Views: 3668
If you say only wanna allow for a certain number of characters, you could try tweaking /Links/User/Search.pm:
Code:
return search() if defined $args->{query} and $args->{query} =~ /\S/;
Change to:
Code:
return search() if defined $args->{query} and $args->{query} =~ /\S/ and length $args->{query} > 2;
See if that helps :)
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!