Bug 35959: Fix C3 merge of Koha::Old::Hold (part 2)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 5f07b8ed52)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
841009d50c
commit
109cb6a13d
|
|
@ -1609,6 +1609,7 @@ Return all the historical holds for this patron
|
|||
sub old_holds {
|
||||
my ($self) = @_;
|
||||
my $old_holds_rs = $self->_result->old_reserves->search( {}, { order_by => 'reservedate' } );
|
||||
require Koha::Old::Holds;
|
||||
return Koha::Old::Holds->_new_from_dbic($old_holds_rs);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue