From 631a0963d3ef59ffa2feec21738bd8aa8319aecb Mon Sep 17 00:00:00 2001 From: Srdjan Date: Fri, 23 Sep 2016 18:11:31 +1200 Subject: [PATCH] Bug 17602 OneClickDigital* sysprefs --- installer/data/mysql/atomicupdate/oneclickdigital.sql | 4 ++++ installer/data/mysql/sysprefs.sql | 2 ++ .../prog/en/modules/admin/preferences/enhanced_content.pref | 9 +++++++++ 3 files changed, 15 insertions(+) create mode 100644 installer/data/mysql/atomicupdate/oneclickdigital.sql diff --git a/installer/data/mysql/atomicupdate/oneclickdigital.sql b/installer/data/mysql/atomicupdate/oneclickdigital.sql new file mode 100644 index 0000000..0954f72 --- /dev/null +++ b/installer/data/mysql/atomicupdate/oneclickdigital.sql @@ -0,0 +1,4 @@ +INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) +VALUES ('OneClickDigitalClientSecret','','30','Client key for OneClickDigital integration','YesNo'), + ('OneClickDigitalLibraryID','','','Library ID for OneClickDigital integration','Integer'); +-- ('OneClickDigitalCirculation','0','','Enable client to see their OneClickDigital account','YesNo'); diff --git a/installer/data/mysql/sysprefs.sql b/installer/data/mysql/sysprefs.sql index cf59c38..307e261 100644 --- a/installer/data/mysql/sysprefs.sql +++ b/installer/data/mysql/sysprefs.sql @@ -194,6 +194,8 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` ('IndependentBranches','0',NULL,'If ON, increases security between libraries','YesNo'), ('IndependentBranchesPatronModifications','0', NULL, 'Show only modification request for the logged in branch','YesNo'), ('IntranetCatalogSearchPulldown','0', NULL, 'Show a search field pulldown for \"Search the catalog\" boxes','YesNo'), +('OneClickDigitalClientSecret','','30','Client key for OneClickDigital integration','YesNo'), +('OneClickDigitalLibraryID','','','Library ID for OneClickDigital 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'), ('InProcessingToShelvingCart','0','','If set, when any item with a location code of PROC is \'checked in\', it\'s location code will be changed to CART.','YesNo'), diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/enhanced_content.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/enhanced_content.pref index f62882d..46132d4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/enhanced_content.pref +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/enhanced_content.pref @@ -372,6 +372,15 @@ Enhanced Content: - If you enable access, you must register auth return url of - http(s)://my.opac.hostname/cgi-bin/koha/external/overdrive/auth.pl - with OverDrive. + OneClickDigital: + - + - Include OneClickDigital availability information with the client secret + - pref: OneClickDigitalClientSecret + - . + - + - "Show items from the OneClickDigital catalog of library #" + - pref: OneClickDigitalLibraryID + - . Coce Cover images cache: - - pref: Coce -- 2.10.2