From fe933e27717eb8f71835791d9dfeb0d9d3af16e3 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Fri, 28 Jul 2023 09:14:59 +0000 Subject: [PATCH] Bug 21246: Set ShowLastPatronCount to 1 on update Setting the new preference to 1 will allow us to keep the current behaviour on update. The library can then actively decide to increase the number to whatever they prefer. Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- installer/data/mysql/atomicupdate/bug_21246.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/data/mysql/atomicupdate/bug_21246.pl b/installer/data/mysql/atomicupdate/bug_21246.pl index 22e281f8c6..e24bad41d7 100755 --- a/installer/data/mysql/atomicupdate/bug_21246.pl +++ b/installer/data/mysql/atomicupdate/bug_21246.pl @@ -10,7 +10,7 @@ return { $dbh->do( q{ INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES - ('showLastPatronCount', '10', NULL, 'How many patrons should showLastPatron remember', 'Integer') + ('showLastPatronCount', '1', NULL, 'How many patrons should showLastPatron remember', 'Integer') } ); say $out "Added new system preference 'showLastPatronCount'"; -- 2.20.1