|
Lines 593-598
sub holds {
Link Here
|
| 593 |
return Koha::Holds->_new_from_dbic($holds_rs); |
593 |
return Koha::Holds->_new_from_dbic($holds_rs); |
| 594 |
} |
594 |
} |
| 595 |
|
595 |
|
|
|
596 |
=head3 old_holds |
| 597 |
|
| 598 |
my $old_holds = $patron->old_holds |
| 599 |
|
| 600 |
Returnn all the historical holds for this patron |
| 601 |
|
| 602 |
=cut |
| 603 |
|
| 604 |
sub old_holds { |
| 605 |
my ($self) = @_; |
| 606 |
my $old_holds_rs = $self->_result->old_reserves->search( {}, { order_by => 'reservedate' } ); |
| 607 |
return Koha::Old::Holds->_new_from_dbic($old_holds_rs); |
| 608 |
} |
| 609 |
|
| 596 |
=head3 first_valid_email_address |
610 |
=head3 first_valid_email_address |
| 597 |
|
611 |
|
| 598 |
=cut |
612 |
=cut |
| 599 |
- |
|
|