From 626d1f22a0be9ea1abfc9ee656448c9822ee3438 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 2 Apr 2021 14:35:08 +0000 Subject: [PATCH] Bug 28013: (follow-up) Reset the patron loop MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit To test: 1 - Apply all other patches and dependencies 2 - prove -v t/db_dependent/Circulation.t 3 - It fails 4 - Apply this patch 5 - It passes Signed-off-by: Joonas Kylmälä Signed-off-by: Jonathan Druart --- C4/Circulation.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index a1f6d89cbf..0585ebbf80 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -2926,6 +2926,7 @@ sub CanBookBeRenewed { } last; } + $patrons->reset; } } } -- 2.39.5