OPACSerialIssueDisplayCount and StaffSerialIssueDisplayCount
should be integers, not free.
---
installer/data/mysql/en/mandatory/sysprefs.sql | 4 ++--
.../1-Obligatoire/unimarc_standard_systemprefs.sql | 4 ++--
installer/data/mysql/updatedatabase.pl | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/installer/data/mysql/en/mandatory/sysprefs.sql
b/installer/data/mysql/en/mandatory/sysprefs.sql
index 3d901be..c59b6f0 100644
--- a/installer/data/mysql/en/mandatory/sysprefs.sql
+++ b/installer/data/mysql/en/mandatory/sysprefs.sql
@@ -230,5 +230,5 @@ INSERT INTO systempreferences
(variable,value,explanation,options,type) VALUES (
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES
('SyndeticsCoverImageSize', 'MC', 'Choose the size of the Syndetics Cover Image
to display on the OPAC detail page, MC is Medium, LC is
Large','MC|LC','Choice');
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES
('OPACAmazonCoverImages', '0', 'Display cover images on OPAC from Amazon Web
Services','','YesNo');
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES
('AmazonCoverImages', '0', 'Display Cover Images in Staff Client from Amazon
Web Services','','YesNo');
-INSERT INTO `systempreferences` ( `variable` , `value` , `options` ,
`explanation` , `type` ) VALUES ( 'StaffSerialIssueDisplayCount', '3', '',
'Number of serial issues to display per subscription in the Staff client',
'free');
-INSERT INTO `systempreferences` ( `variable` , `value` , `options` ,
`explanation` , `type` ) VALUES ( 'OPACSerialIssueDisplayCount', '3', '',
'Number of serial issues to display per subscription in the OPAC', 'free');
+INSERT INTO `systempreferences` ( `variable` , `value` , `options` ,
`explanation` , `type` ) VALUES ( 'StaffSerialIssueDisplayCount', '3', '',
'Number of serial issues to display per subscription in the Staff client',
'Integer');
+INSERT INTO `systempreferences` ( `variable` , `value` , `options` ,
`explanation` , `type` ) VALUES ( 'OPACSerialIssueDisplayCount', '3', '',
'Number of serial issues to display per subscription in the OPAC', 'Integer');
diff --git
a/installer/data/mysql/fr-FR/1-Obligatoire/unimarc_standard_systemprefs.sql
b/installer/data/mysql/fr-FR/1-Obligatoire/unimarc_standard_systemprefs.sql
index 74dfe01..8455c7e 100644
--- a/installer/data/mysql/fr-FR/1-Obligatoire/unimarc_standard_systemprefs.sql
+++ b/installer/data/mysql/fr-FR/1-Obligatoire/unimarc_standard_systemprefs.sql
@@ -232,5 +232,5 @@ INSERT INTO systempreferences
(variable,value,explanation,options,type) VALUES (
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES
('SyndeticsCoverImageSize', 'MC', 'Choose the size of the Syndetics Cover Image
to display on the OPAC detail page, MC is Medium, LC is
Large','MC|LC','Choice');
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES
('OPACAmazonCoverImages', '0', 'Display cover images on OPAC from Amazon Web
Services','','YesNo');
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES
('AmazonCoverImages', '0', 'Display Cover Images in Staff Client from Amazon
Web Services','','YesNo');
-INSERT INTO `systempreferences` ( `variable` , `value` , `options` ,
`explanation` , `type` ) VALUES ( 'StaffSerialIssueDisplayCount', '3', '',
'Number of serial issues to display per subscription in the Staff client',
'free');
-INSERT INTO `systempreferences` ( `variable` , `value` , `options` ,
`explanation` , `type` ) VALUES ( 'OPACSerialIssueDisplayCount', '3', '',
'Number of serial issues to display per subscription in the OPAC', 'free');
+INSERT INTO `systempreferences` ( `variable` , `value` , `options` ,
`explanation` , `type` ) VALUES ( 'StaffSerialIssueDisplayCount', '3', '',
'Number of serial issues to display per subscription in the Staff client',
'Integer');
+INSERT INTO `systempreferences` ( `variable` , `value` , `options` ,
`explanation` , `type` ) VALUES ( 'OPACSerialIssueDisplayCount', '3', '',
'Number of serial issues to display per subscription in the OPAC', 'Integer');
diff --git a/installer/data/mysql/updatedatabase.pl
b/installer/data/mysql/updatedatabase.pl
index d96b556..2b68f84 100755
--- a/installer/data/mysql/updatedatabase.pl
+++ b/installer/data/mysql/updatedatabase.pl
@@ -2285,11 +2285,11 @@ if (C4::Context->preference("Version") <
TransformToNum($DBversion)) {
$dbh->do("ALTER TABLE `subscription` ADD `opacdisplaycount` VARCHAR(10)
NULL;");
$dbh->do("INSERT INTO `systempreferences` ( `variable` , `value` ,
`options` , `explanation` , `type` )
VALUES (
- 'StaffSerialIssueDisplayCount', '3', '', 'Number of serial issues to
display per subscription in the Staff client', 'free'
+ 'StaffSerialIssueDisplayCount', '3', '', 'Number of serial issues to
display per subscription in the Staff client', 'Integer'
);");
$dbh->do("INSERT INTO `systempreferences` ( `variable` , `value` ,
`options` , `explanation` , `type` )
VALUES (
- 'OPACSerialIssueDisplayCount', '3', '', 'Number of serial issues to
display per subscription in the OPAC', 'free'
+ 'OPACSerialIssueDisplayCount', '3', '', 'Number of serial issues to
display per subscription in the OPAC', 'Integer'
);");
print "Upgrade to $DBversion done ( Updated table for Branch Transfer
Limits)\n";
--
1.5.6.5
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches