From 60a44d0da1e7def1699f6d124ce616a6edc04aa0 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 (cherry picked from commit 626d1f22a0be9ea1abfc9ee656448c9822ee3438) Signed-off-by: Fridolin Somers --- C4/Circulation.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index 5eca0f0327..3569b9aa4b 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -2911,6 +2911,7 @@ sub CanBookBeRenewed { } last; } + $patrons->reset; } } } -- 2.39.5