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

(-)a/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm (-2 / +1 lines)
Lines 490-496 sub _convert_sort_fields { Link Here
490
490
491
    # Convert the fields and orders, drop anything we don't know about.
491
    # Convert the fields and orders, drop anything we don't know about.
492
    grep { $_->{field} } map {
492
    grep { $_->{field} } map {
493
        my ( $f, $d ) = split /_/;
493
        my ( $f, $d ) = /(.+)_(.+)/;
494
        {
494
        {
495
            field     => $sort_field_convert{$f},
495
            field     => $sort_field_convert{$f},
496
            direction => $sort_order_convert{$d}
496
            direction => $sort_order_convert{$d}
497
- 

Return to bug 19564