From b5e7e97b69d5a0831f27d9766d377cb3d7419973 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=UTF-8 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ä --- cataloguing/additem.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cataloguing/additem.pl b/cataloguing/additem.pl index e099215256..d3f9456db5 100755 --- a/cataloguing/additem.pl +++ b/cataloguing/additem.pl @@ -653,7 +653,7 @@ if ($op eq "additem") { .'borrowernumber='.$fa_circborrowernumber .'&barcode='.uri_escape_utf8($fa_barcode) .'&duedatespec='.$fa_duedatespec - .'&stickyduedate=1' + .'&stickyduedate='.$fa_stickyduedate ); exit; } -- 2.20.1