From aa474bf12e75a6a7d5ba1cfcb25251af1385b3e2 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Tue, 7 Sep 2021 22:37:39 +0000 Subject: [PATCH] Bug 21093: In additem.pl set the right stickyduedate for fast add MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit To test: -1 Set the specify due date option to a date, don't check the checkbox -2 Enter an unknown barcode -3 Click on fast add -4 Add a record -5 Add an item (don't change the barcode!) -6 The item is checked out to the patron -7 Verify: The checkbox is "Remember for session" is checked now -8 APPLY patch -9 Do steps 1-6 again, this time "Remember for session" should be unchecked -10 Do steps 1-6 again but this time do check the "Remember for session" checkbox. -11 It should be properly checked Signed-off-by: Andrew Fuerste-Henry Signed-off-by: Joonas Kylmälä Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall --- cataloguing/additem.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cataloguing/additem.pl b/cataloguing/additem.pl index 2f02f8df33..0f3363e8ff 100755 --- a/cataloguing/additem.pl +++ b/cataloguing/additem.pl @@ -644,7 +644,7 @@ if ($op eq "additem") { .'borrowernumber='.$fa_circborrowernumber .'&barcode='.uri_escape_utf8($fa_barcode) .'&duedatespec='.$fa_duedatespec - .'&stickyduedate=1' + .'&stickyduedate='.$fa_stickyduedate ); exit; } -- 2.39.5