From 5f07b8ed529782aeea6c6c539538c9f6312d416e Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Wed, 3 Jul 2024 10:58:46 +0200 Subject: [PATCH] Bug 35959: Fix C3 merge of Koha::Old::Hold (part 2) Signed-off-by: Martin Renvoize Signed-off-by: Katrin Fischer --- Koha/Patron.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Koha/Patron.pm b/Koha/Patron.pm index 1691c9d25b..98dd05a4bb 100644 --- a/Koha/Patron.pm +++ b/Koha/Patron.pm @@ -1584,6 +1584,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); } -- 2.39.5