From 84fd8d28e78bae4c68bc6812d8cb28475769bd7f Mon Sep 17 00:00:00 2001 From: Emily Lamancusa Date: Tue, 25 Feb 2025 20:25:18 +0000 Subject: [PATCH] Bug 38108: (QA follow-up) Use say_success in dbrev Use say_success instead of say when outputting a line that the system preference was added successfully Signed-off-by: Emily Lamancusa Signed-off-by: Katrin Fischer (cherry picked from commit 606cd8d63e9a71466225e62e6c20d49dd4080232) Signed-off-by: Paul Derscheid --- installer/data/mysql/atomicupdate/bug_38108.pl | 2 +- installer/data/mysql/mandatory/sysprefs.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/installer/data/mysql/atomicupdate/bug_38108.pl b/installer/data/mysql/atomicupdate/bug_38108.pl index e7bb87df63..930153423a 100755 --- a/installer/data/mysql/atomicupdate/bug_38108.pl +++ b/installer/data/mysql/atomicupdate/bug_38108.pl @@ -16,6 +16,6 @@ return { ); # sysprefs - say $out "Added new system preference 'AlwaysShowHoldingsTableFilters'"; + say_success( $out, "Added new system preference 'AlwaysShowHoldingsTableFilters'" ); }, }; diff --git a/installer/data/mysql/mandatory/sysprefs.sql b/installer/data/mysql/mandatory/sysprefs.sql index f9ced36f4d..96a12c2c3b 100644 --- a/installer/data/mysql/mandatory/sysprefs.sql +++ b/installer/data/mysql/mandatory/sysprefs.sql @@ -56,7 +56,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` ('AlternateHoldingsField','',NULL,'The MARC field/subfield that contains alternate holdings information for bibs taht do not have items attached (e.g. 852abchi for libraries converting from MARC Magician).','free'), ('AlternateHoldingsSeparator','',NULL,'The string to use to separate subfields in alternate holdings displays.','free'), ('AlwaysLoadCheckoutsTable','0','','Option to always load the checkout table','Yes/No'), -('AlwaysShowHoldingsTableFilters','0','','Option to always show filters when loading the holdings table','Yes/No'), +('AlwaysShowHoldingsTableFilters','0','','Option to always show filters when loading the holdings table','YesNo'), ('AmazonAssocTag','','','See: http://aws.amazon.com','free'), ('AmazonCoverImages','0','','Display Cover Images in staff interface from Amazon Web Services','YesNo'), ('AmazonLocale','US','US|CA|DE|FR|IN|JP|UK','Use to set the Locale of your Amazon.com Web Services','Choice'),