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

(-)a/Koha/SearchEngine/Elasticsearch/Search.pm (-2 / +1 lines)
Lines 492-498 sub _convert_facets { Link Here
492
        push @facets, $facet if exists $facet->{facets};
492
        push @facets, $facet if exists $facet->{facets};
493
    }
493
    }
494
494
495
    @facets = sort { $a->{order} cmp $b->{order} } @facets;
495
    @facets = sort { $a->{order} <=> $b->{order} } @facets;
496
    return \@facets;
496
    return \@facets;
497
}
497
}
498
498
499
- 

Return to bug 18213