From 3a4fd4beb02576af4ab976fe5ea29b943d8ba808 Mon Sep 17 00:00:00 2001 From: Bernardo Gonzalez Kriegel Date: Fri, 18 Dec 2015 10:39:23 -0300 Subject: [PATCH] Bug 5572: (follow-up) fix koha-qa errors --- C4/AuthoritiesMarc.pm | 4 ++-- C4/Biblio.pm | 1 + installer/data/mysql/sysprefs.sql | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/C4/AuthoritiesMarc.pm b/C4/AuthoritiesMarc.pm index b87291b..22caef7 100644 --- a/C4/AuthoritiesMarc.pm +++ b/C4/AuthoritiesMarc.pm @@ -1592,8 +1592,8 @@ sub merge { $_ => $a; } qw/ from to / }; - # Is is necessary to change biblio record tag since the target authority - # has another type? The first tag linked to target authority is choosed: + # Is it necessary to change biblio record tag since the target authority + # has another type? The first tag linked to target authority is chosen: # this is disputable. my $modified_tag = $auth->{to}->{type} ne $auth->{from}->{type} ? $auth->{to}->{bibtags}->[0] : 0; diff --git a/C4/Biblio.pm b/C4/Biblio.pm index 0a7b847..6d5e427 100644 --- a/C4/Biblio.pm +++ b/C4/Biblio.pm @@ -2205,6 +2205,7 @@ sub GetFrameworkCode { Returns the biblionumber of a given biblio record. =cut + sub GetBiblionumber { my $record = shift; diff --git a/installer/data/mysql/sysprefs.sql b/installer/data/mysql/sysprefs.sql index dd83bf7..55e7564 100644 --- a/installer/data/mysql/sysprefs.sql +++ b/installer/data/mysql/sysprefs.sql @@ -41,6 +41,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` ('AnonSuggestions','0',NULL,'Set to enable Anonymous suggestions to AnonymousPatron borrowernumber','YesNo'), ('AnonymousPatron','0',NULL,'Set the identifier (borrowernumber) of the anonymous patron. Used for Suggestion and reading history privacy',''), ('AudioAlerts','0','','Enable circulation sounds during checkin and checkout in the staff interface. Not supported by all web browsers yet.','YesNo'), +('AuthCleanBiblios','0',NULL,'If ON, attached biblio records related fields are cleaned when an authority is updated','YesNo'), ('AuthDisplayHierarchy','0','','Display authority hierarchies','YesNo'), ('AuthoritiesLog','1',NULL,'If ON, log edit/create/delete actions on authorities.','YesNo'), ('AuthoritySeparator','--','10','Used to separate a list of authorities in a display. Usually --','free'), @@ -120,7 +121,6 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` ('DisplayMultiPlaceHold','1','','Display the ability to place multiple holds or not','YesNo'), ('DisplayOPACiconsXSLT','1','','If ON, displays the format, audience, and material type icons in XSLT MARC21 results and detail pages in the OPAC.','YesNo'), ('dontmerge','1',NULL,'If ON, modifying an authority record will not update all associated bibliographic records immediately, ask your system administrator to enable the merge_authorities.pl cron job','YesNo'), -('AuthCleanBiblios','0',NULL,'If ON, attached biblio records related fields are cleaned when an authority is updated','YesNo'), ('DumpTemplateVarsIntranet', '0', NULL , 'If enabled, dump all Template Toolkit variable to a comment in the html source for the staff intranet.', 'YesNo'), ('DumpTemplateVarsOpac', '0', NULL , 'If enabled, dump all Template Toolkit variable to a comment in the html source for the opac.', 'YesNo'), ('EasyAnalyticalRecords','0','','If on, display in the catalogue screens tools to easily setup analytical record relationships','YesNo'), -- 1.9.1