Gossamer Forum
Home : Products : Gossamer Links : Discussions :

How can I make "and" equal to "&" in Links?

Quote Reply
How can I make "and" equal to "&" in Links?
When you search "dogs and cats" in Links, "dogs & cats" will not come up. How can I configure Links so that search string with "and" will also get "&". Thanks
Quote Reply
Re: [banana] How can I make "and" equal to "&" in Links? In reply to
You'd probably need to edit admin/Links/User/Seach.pm and in sub handle add something like:

Code:
$args->{query} =~ s/&/and/g;