Bug 31652: Perltidy
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
4bed77da08
commit
27c496a50d
2 changed files with 12 additions and 15 deletions
|
@ -939,7 +939,7 @@ sub _create_query_string {
|
|||
if ( $q->{field} && $q->{field} eq 'geolocation' ) {
|
||||
push( @$es_advanced_searches, $q );
|
||||
} else {
|
||||
push(@string_queries, $q)
|
||||
push( @string_queries, $q );
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1437,17 +1437,14 @@ sub _rebuild_to_es_advanced_query {
|
|||
lon => $lon,
|
||||
}
|
||||
};
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
warn "unknown advanced ElasticSearch query: " . join( ', ', %$advanced_query );
|
||||
}
|
||||
}
|
||||
|
||||
$res->{query} = {
|
||||
bool => {
|
||||
must => {
|
||||
query_string => $query_string
|
||||
},
|
||||
must => { query_string => $query_string },
|
||||
filter => \%filter,
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue