Just use this global and your problems are gone... I think there's already a call to ignored in the search templates so just adding this Global will do.
require GT::SQL::Search::MYSQL::VER4;
my $STOPWORDS = $GT::SQL::Search::MYSQL::VER4::STOPWORDS;
my $output;
my $tags = shift;
my $qword = $IN->param('query');
my @query = split(/\s/,$qword);
foreach my $match (@query) {
if (exists $STOPWORDS->{$match}) {
$output .= "$match ";
}
}
return $output;
}
Code:
sub { require GT::SQL::Search::MYSQL::VER4;
my $STOPWORDS = $GT::SQL::Search::MYSQL::VER4::STOPWORDS;
my $output;
my $tags = shift;
my $qword = $IN->param('query');
my @query = split(/\s/,$qword);
foreach my $match (@query) {
if (exists $STOPWORDS->{$match}) {
$output .= "$match ";
}
}
return $output;
}