Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

Search.pm bug

Quote Reply
Search.pm bug
Look in Search.pm, and update sub query to the following:

Code:
# ... the search method is one of the more constrictive types..., thank goodness!
my ( $tokens, $rejected ) = $self->_tokenize ( $query_string );
push @{$self->{rejected}}, @$rejected if ( @$rejected );
my $o = {map { $_ => 0 } @$tokens};

The very last line, my $o..., has been changed.

This will only affect you if you change the defaults of Search.pm. Specifically, to use the AND/OR searches. With the default installation, you should be fine Smile

My fault, sorry Frown

[This message has been edited by kitsune (edited December 16, 1999).]