From da197b51547d2349870c4e731cc43c7d892ff208 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=UTF-8 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ä --- C4/Circulation.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index 39848cb21e..9a4fbeb475 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -2925,6 +2925,7 @@ sub CanBookBeRenewed { } last; } + $patrons->reset; } } } -- 2.11.0