From da46b4d93345adc55d701a1d64a91bea979e7b0f Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Wed, 2 Oct 2019 13:51:26 +0000 Subject: [PATCH] Bug 23686: (QA follow-up) Fix updatedatabase and make descriptions consistent Signed-off-by: Martin Renvoize --- .../atomicupdate/bug_23686_autocheck_onsitecheckout.perl | 4 +++- installer/data/mysql/sysprefs.sql | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/installer/data/mysql/atomicupdate/bug_23686_autocheck_onsitecheckout.perl b/installer/data/mysql/atomicupdate/bug_23686_autocheck_onsitecheckout.perl index f48672543d..99dc8c233d 100644 --- a/installer/data/mysql/atomicupdate/bug_23686_autocheck_onsitecheckout.perl +++ b/installer/data/mysql/atomicupdate/bug_23686_autocheck_onsitecheckout.perl @@ -3,6 +3,8 @@ if( CheckVersion( $DBversion ) ) { $dbh->do(qq{ INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES - ('OnSiteCheckoutAutoCheck','0','','onsite Checkout by default if last checkout was an onsite checkout box','YesNo') + ('OnSiteCheckoutAutoCheck','0','','Enable/Do not enable onsite checkout by default if last checkout was an onsite checkout','YesNo') }); + SetVersion( $DBversion ); + print "Upgrade to $DBversion done (Bug 23686: Add OnSiteCheckoutAutoCheck system preference)\n"; } diff --git a/installer/data/mysql/sysprefs.sql b/installer/data/mysql/sysprefs.sql index 32ebc3523a..88476cd729 100644 --- a/installer/data/mysql/sysprefs.sql +++ b/installer/data/mysql/sysprefs.sql @@ -243,7 +243,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` ('RecordedBooksLibraryID','','','Library ID for RecordedBooks integration','Integer'), ('OnSiteCheckouts','0','','Enable/Disable the on-site checkouts feature','YesNo'), ('OnSiteCheckoutsForce','0','','Enable/Disable the on-site for all cases (Even if a user is debarred, etc.)','YesNo'), -('OnSiteCheckoutAutoCheck','0','','onsite Checkout by default if last checkout was an onsite checkout box','YesNo'), +('OnSiteCheckoutAutoCheck','0','','Enable/Do not enable onsite checkout by default if last checkout was an onsite checkout','YesNo'), ('INTRAdidyoumean','',NULL,'Did you mean? configuration for the Intranet. Do not change, as this is controlled by /cgi-bin/koha/admin/didyoumean.pl.','Free'), ('IntranetBiblioDefaultView','normal','normal|marc|isbd|labeled_marc','Choose the default detail view in the staff interface; choose between normal, labeled_marc, marc or isbd','Choice'), ('intranetbookbag','1','','If ON, enables display of Cart feature in the intranet','YesNo'), -- 2.39.5