View | Details | Raw Unified | Return to bug 24555
Collapse All | Expand All

(-)a/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm (-1 / +6 lines)
Lines 273-278 sub _create_match_expression { Link Here
273
    my ($self, $search_param) = @_;
273
    my ($self, $search_param) = @_;
274
274
275
    my $expression = {};
275
    my $expression = {};
276
277
    if ($search_param->{operand} =~ /([\w\-]+):(.+)/) {
278
         $search_param->{field} = $1;
279
         $search_param->{operand} = $2;
280
    }
281
276
    unless (defined($search_param->{field})) {
282
    unless (defined($search_param->{field})) {
277
        $expression->{multi_match} = {
283
        $expression->{multi_match} = {
278
            type => 'cross_fields',
284
            type => 'cross_fields',
279
- 

Return to bug 24555