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

(-)a/Koha/Patron.pm (-1 / +15 lines)
Lines 46-51 use Koha::Encryption; Link Here
46
use Koha::Exceptions;
46
use Koha::Exceptions;
47
use Koha::Exceptions::Password;
47
use Koha::Exceptions::Password;
48
use Koha::Holds;
48
use Koha::Holds;
49
use Koha::HoldGroups;
49
use Koha::ILL::Requests;
50
use Koha::ILL::Requests;
50
use Koha::ItemTypes;
51
use Koha::ItemTypes;
51
use Koha::Old::Checkouts;
52
use Koha::Old::Checkouts;
Lines 1888-1893 sub old_holds { Link Here
1888
    return Koha::Old::Holds->_new_from_dbic($old_holds_rs);
1889
    return Koha::Old::Holds->_new_from_dbic($old_holds_rs);
1889
}
1890
}
1890
1891
1892
=head3 hold_groups
1893
1894
my $hold_groups = $patron->hold_groups
1895
1896
Return all of this patron's hold groups
1897
1898
=cut
1899
1900
sub hold_groups {
1901
    my ($self) = @_;
1902
    my $hold_group_rs = $self->_result->hold_groups->search( {}, { order_by => 'hold_group_id' } );
1903
    return Koha::HoldGroups->_new_from_dbic($hold_group_rs);
1904
}
1905
1891
=head3 curbside_pickups
1906
=head3 curbside_pickups
1892
1907
1893
my $curbside_pickups = $patron->curbside_pickups;
1908
my $curbside_pickups = $patron->curbside_pickups;
1894
- 

Return to bug 40517