bug_16034 Adding a new syspref - OverDriveCirculation

If set to true, Opac will integrate OverDrive patron services

Signed-off-by: Jesse Weaver <jweaver@bywatersolutions.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Chris Cormack 2015-08-18 15:55:51 +12:00 committed by Kyle M Hall
parent 88aa2ebf9d
commit ff3bc31352
3 changed files with 13 additions and 0 deletions

View file

@ -1 +1,4 @@
ALTER TABLE borrowers ADD overdrive_auth_token text default NULL AFTER lastseen;
INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type)
VALUES ('OverDriveCirculation','0','Enable client to see their OverDrive account','','YesNo');

View file

@ -386,6 +386,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `
('OpenLibraryCovers','0',NULL,'If ON Openlibrary book covers will be show','YesNo'),
('OpenLibrarySearch','0',NULL,'If Yes Open Library search results will show in OPAC','YesNo'),
('OrderPdfFormat','pdfformat::layout3pages','Controls what script is used for printing (basketgroups)','','free'),
('OverDriveCirculation','0','Enable client to see their OverDrive account','','YesNo'),
('OverDriveClientKey','','Client key for OverDrive integration','30','Free'),
('OverDriveClientSecret','','Client key for OverDrive integration','30','YesNo'),
('OverDriveLibraryID','','Library ID for OverDrive integration','','Integer'),

View file

@ -363,6 +363,15 @@ Enhanced Content:
- "Show items from the OverDrive catalog of library #"
- pref: OverDriveLibraryID
- .
-
- pref: OverDriveCirculation
choices:
yes: Enable
no: "Don't enable"
- users to access their OverDrive circulation history, and circulate items.
- 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.
Coce Cover images cache:
-
- pref: Coce