Bug 10320: (follow-up) tidy up new system preferences
authorGalen Charlton <gmc@esilibrary.com>
Sun, 8 Sep 2013 06:47:18 +0000 (06:47 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Sun, 8 Sep 2013 07:04:49 +0000 (07:04 +0000)
- added to sysprefs.sql
- fixed typo in updatedatabase.pl

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
installer/data/mysql/sysprefs.sql
installer/data/mysql/updatedatabase.pl

index 32ce6ab..e8ca401 100644 (file)
@@ -280,6 +280,9 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `
 ('OPACXSLTResultsDisplay','default','','Enable XSL stylesheet control over results page display on OPAC','Free'),
 ('OpenLibraryCovers','0',NULL,'If ON Openlibrary book covers will be show','YesNo'),
 ('OrderPdfFormat','pdfformat::layout3pages','Controls what script is used for printing (basketgroups)','','free'),
+('OverDriveClientKey','','Client key for OverDrive integration','30','Free'),
+('OverDriveClientSecret','','Client key for OverDrive integration','30','YesNo'),
+('OverDriveLibraryID','','Library ID for OverDrive integration','','Integer'),
 ('OverdueNoticeBcc','','','Email address to bcc outgoing overdue notices sent by email','free'),
 ('OverduesBlockCirc','noblock','noblock|confirmation|block','When checking out an item should overdues block checkout, generate a confirmation dialogue, or allow checkout','Choice'),
 ('patronimages','0',NULL,'Enable patron images for the Staff Client','YesNo'),
index 7009933..eb298de 100755 (executable)
@@ -7098,7 +7098,7 @@ if(CheckVersion($DBversion)) {
 "INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES('OverDriveClientSecret','','Client key for OverDrive integration','30','YesNo')"
     );
     $dbh->do(
-"INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES('OpacDriveLibraryID','','Library ID for OverDrive integration','','Integer')"
+"INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES('OverDriveLibraryID','','Library ID for OverDrive integration','','Integer')"
     );
     print "Upgrade to $DBversion done (Bug 10320 - Show results from library's OverDrive collection in OPAC search)\n";
     SetVersion($DBversion);