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

(-)a/C4/Search.pm (-8 lines)
Lines 594-606 sub getRecords { Link Here
594
            }
594
            }
595
        );
595
        );
596
596
597
    # This sorts the facets into alphabetical order
598
    if (@facets_loop) {
599
        foreach my $f (@facets_loop) {
600
            $f->{facets} = [ sort { uc($a->{facet_label_value}) cmp uc($b->{facet_label_value}) } @{ $f->{facets} } ];
601
        }
602
    }
603
604
    return ( undef, $results_hashref, \@facets_loop );
597
    return ( undef, $results_hashref, \@facets_loop );
605
}
598
}
606
599
607
- 

Return to bug 25838