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 1847-1852 sub old_holds { Link Here
1847
    return Koha::Old::Holds->_new_from_dbic($old_holds_rs);
1848
    return Koha::Old::Holds->_new_from_dbic($old_holds_rs);
1848
}
1849
}
1849
1850
1851
=head3 hold_groups
1852
1853
my $hold_groups = $patron->hold_groups
1854
1855
Return all of this patron's hold groups
1856
1857
=cut
1858
1859
sub hold_groups {
1860
    my ($self) = @_;
1861
    my $hold_group_rs = $self->_result->hold_groups->search( {}, { order_by => 'hold_group_id' } );
1862
    return Koha::HoldGroups->_new_from_dbic($hold_group_rs);
1863
}
1864
1850
=head3 curbside_pickups
1865
=head3 curbside_pickups
1851
1866
1852
my $curbside_pickups = $patron->curbside_pickups;
1867
my $curbside_pickups = $patron->curbside_pickups;
1853
- 

Return to bug 40517