From 7beba04efc984ffd353c3744266d12e9b9e7c4c4 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 (cherry picked from commit 60a44d0da1e7def1699f6d124ce616a6edc04aa0) Signed-off-by: Andrew Fuerste-Henry --- C4/Circulation.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index 9c963ddda5..cb7262e62a 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -2849,6 +2849,7 @@ sub CanBookBeRenewed { } last; } + $patrons->reset; } } } -- 2.39.5