diff --git a/Koha/Patron.pm b/Koha/Patron.pm index 20ee8956dd..26ea73e4f9 100644 --- a/Koha/Patron.pm +++ b/Koha/Patron.pm @@ -142,7 +142,7 @@ Returns the guarantees (list of Koha::Patron) of this patron sub guarantees { my ( $self ) = @_; - return Koha::Patrons->search( { guarantorid => $self->borrowernumber } ); + return Koha::Patrons->search( { guarantorid => $self->borrowernumber }, { order_by => { -asc => ['surname','firstname'] } } ); } =head3 housebound_profile