@@ -, +, @@ search terms The night circus by Erin Morgenstern Frog and toad all year Nothing ever happens title: the night circus, author:Morgenstern, Erin title: For and toad all year title:nothing ever happens (case is important) --- C4/Search.pm | 2 -- 1 file changed, 2 deletions(-) --- a/C4/Search.pm +++ a/C4/Search.pm @@ -109,7 +109,6 @@ sub FindDuplicate { # FIXME: instead of removing operators, could just do # quotes around the value - $result->{title} =~ s/(and|or|not)//g; $query = "$titleindex:\"$result->{title}\""; if ( $result->{author} ) { $result->{author} =~ s /\\//g; @@ -118,7 +117,6 @@ sub FindDuplicate { $result->{author} =~ s /\)//g; # remove valid operators - $result->{author} =~ s/(and|or|not)//g; $query .= " $op $authorindex:\"$result->{author}\""; } } --