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

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

Return to bug 18213