From 14cf28200375cebf136e7b95e9b379498edbc54c 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) --- 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.30.2