From 0fb7f8b6ced00275148a9d90fd8efcda19f4b2e3 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 --- Koha/Patron.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Koha/Patron.pm b/Koha/Patron.pm index 1691c9d25b5..98dd05a4bbf 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.45.2