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

(-)a/Koha/SearchEngine/Elasticsearch/Search.pm (-2 / +1 lines)
Lines 509-515 sub _convert_facets { Link Here
509
        push @facets, $facet if exists $facet->{facets};
509
        push @facets, $facet if exists $facet->{facets};
510
    }
510
    }
511
511
512
    @facets = sort { $a->{order} cmp $b->{order} } @facets;
512
    @facets = sort { $a->{order} <=> $b->{order} } @facets;
513
    return \@facets;
513
    return \@facets;
514
}
514
}
515
515
516
- 

Return to bug 18213