From 43eb61f0d80cf69a90e08ed877491a432b7c7f04 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 13 May 2024 15:59:57 +0200 Subject: [PATCH] Bug 29948: Adjust sysprefs.sql Signed-off-by: Katrin Fischer --- installer/data/mysql/mandatory/sysprefs.sql | 2 +- t/db_dependent/check_sysprefs.t | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/installer/data/mysql/mandatory/sysprefs.sql b/installer/data/mysql/mandatory/sysprefs.sql index e0fcd2cfc7..06ebba4511 100644 --- a/installer/data/mysql/mandatory/sysprefs.sql +++ b/installer/data/mysql/mandatory/sysprefs.sql @@ -462,7 +462,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` ('OPACAllowUserToChangeBranch','','Pending, In-Transit, Suspended','Allow users to change the library to pick up a hold for these statuses:','multiple'), ('OPACAllowUserToChooseBranch','1','1','Allow the user to choose the branch they want to pickup their hold from','YesNo'), ('OPACAmazonCoverImages','0','','Display cover images on OPAC from Amazon Web Services','YesNo'), -('OPACAuthorIdentifiers','0','','Display author identifiers on the OPAC detail page','YesNo'), +('OPACAuthorIdentifiersAndInformation', '', '', 'Display author information on the OPAC detail page','multiple_sortable'), ('OpacAuthorities','1',NULL,'If ON, enables the search authorities link on OPAC','YesNo'), ('OPACBaseURL','',NULL,'Specify the Base URL of the OPAC, e.g., http://opac.mylibrary.com, including the protocol (http:// or https://). Otherwise, the http:// will be added automatically by Koha upon saving.','Free'), ('opacbookbag','1','','If ON, enables display of Cart feature','YesNo'), diff --git a/t/db_dependent/check_sysprefs.t b/t/db_dependent/check_sysprefs.t index 019f6b0b83..3d194e4a56 100755 --- a/t/db_dependent/check_sysprefs.t +++ b/t/db_dependent/check_sysprefs.t @@ -70,13 +70,13 @@ subtest 'Compare sysprefs.sql with YAML files' => sub { my @missing_yaml = array_minus( @sysprefs_mod, @yaml_mod ); is( scalar @missing_yaml, 0, "No system preference entries missing from sysprefs.sql" ); if ( scalar @missing_yaml > 0 ) { - print "System preferences missing from YAML:\n * " . join( "\n * ", @missing_yaml ) . "\n"; + diag "System preferences missing from YAML:\n * " . join( "\n * ", @missing_yaml ) . "\n"; } my @missing_sysprefs = array_minus( @yaml_mod, @sysprefs_mod ); is( scalar @missing_sysprefs, 0, "No system preference entries missing from YAML files" ); if ( scalar @missing_sysprefs > 0 ) { - print "System preferences missing from sysprefs.sql:\n * " . join( "\n * ", @missing_sysprefs ) . "\n"; + diag "System preferences missing from sysprefs.sql:\n * " . join( "\n * ", @missing_sysprefs ) . "\n"; } }; -- 2.39.5