Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jesse Weaver <jweaver@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
sub build_authorities_query {
my ($self, $search) = @_;
-warn "Search is " . Dumper $search;
# Start by making the query parts
my @query_parts;
my @filter_parts;
$term = $self->_convert_index_strings_freeform($term);
$term =~ s/[{}]/"/g;
+ # Some hardcoded searches (like with authorities) produce things like
+ # 'an=123', when it ought to be 'an:123'.
+ $term =~ s/=/:/g;
return $term;
}