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

(-)a/Koha/Template/Plugin/Categories.pm (-3 / +2 lines)
Lines 25-36 use Koha::Patron::Categories; Link Here
25
25
26
sub all {
26
sub all {
27
    my ( $self, $params ) = @_;
27
    my ( $self, $params ) = @_;
28
    return Koha::Patron::Categories->search($params);
28
    return Koha::Patron::Categories->search($params, { order_by => [ 'description' ] } );
29
}
29
}
30
30
31
sub limited {
31
sub limited {
32
    my ( $self, $params ) = @_;
32
    my ( $self, $params ) = @_;
33
    return Koha::Patron::Categories->search_with_library_limits($params);
33
    return Koha::Patron::Categories->search_with_library_limits($params, { order_by => [ 'description' ] } );
34
}
34
}
35
35
36
sub GetName {
36
sub GetName {
37
- 

Return to bug 32127