We configure z39.50 to use the eg.keyword, eg.title, and eg.author
indexes. One client in particular does "=" searches when it probably
means "all." To give that client all of the results that it expects,
we modify SuperCat to not quote the terms of an = search when one of
the previous indexes is being used.
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Jason Boyer <JBoyer@library.in.gov>
}
}
- $quote_it = 0 if ( $base eq 'all' );
+ $quote_it = 0 if ( $base eq 'all' || ( $base eq '=' && grep {$qualifier eq $_} qw(eg.keyword eg.title eg.author) ) );
$term = maybeQuote($term) if $quote_it;
} else {