Bugzilla – Attachment 48920 Details for
Bug 16034
Integration with OverDrive Patron API
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
bug_16034 Adding a new syspref - OverDriveCirculation
bug16034-Adding-a-new-syspref---OverDriveCirculati.patch (text/plain), 2.99 KB, created by
Srdjan Jankovic
on 2016-03-10 04:31:02 UTC
(
hide
)
Description:
bug_16034 Adding a new syspref - OverDriveCirculation
Filename:
MIME Type:
Creator:
Srdjan Jankovic
Created:
2016-03-10 04:31:02 UTC
Size:
2.99 KB
patch
obsolete
>From fddaa15a48497007e24deb2387b27c005541aff9 Mon Sep 17 00:00:00 2001 >From: Chris Cormack <chrisc@catalyst.net.nz> >Date: Tue, 18 Aug 2015 15:55:51 +1200 >Subject: [PATCH] bug_16034 Adding a new syspref - OverDriveCirculation > >If set to true, Opac will integrate OverDrive patron services >--- > installer/data/mysql/atomicupdate/overdrive.sql | 3 +++ > installer/data/mysql/sysprefs.sql | 1 + > .../prog/en/modules/admin/preferences/enhanced_content.pref | 9 +++++++++ > 3 files changed, 13 insertions(+) > >diff --git a/installer/data/mysql/atomicupdate/overdrive.sql b/installer/data/mysql/atomicupdate/overdrive.sql >index 2ca5e8e..4e3f331 100644 >--- a/installer/data/mysql/atomicupdate/overdrive.sql >+++ b/installer/data/mysql/atomicupdate/overdrive.sql >@@ -1 +1,4 @@ > ALTER TABLE borrowers ADD overdrive_auth_token text default NULL AFTER privacy_guarantor_checkouts; >+ >+INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) >+VALUES ('OverDriveCirculation','0','Enable client to see their OverDrive account','','YesNo'); >diff --git a/installer/data/mysql/sysprefs.sql b/installer/data/mysql/sysprefs.sql >index e2e3ad2..3af675a 100644 >--- a/installer/data/mysql/sysprefs.sql >+++ b/installer/data/mysql/sysprefs.sql >@@ -353,6 +353,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'), >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 ce8bee3..0c4ff0d 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 >@@ -349,6 +349,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 >-- >1.9.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 16034
:
48919
|
48920
|
48921
|
49929
|
49930
|
49931
|
53793
|
55594
|
55675
|
55676
|
55677
|
55678
|
55763
|
55764
|
55765
|
55766
|
55815
|
55816
|
57398
|
57399
|
57400
|
57401
|
58518
|
58519
|
58520
|
58521
|
58522
|
58790
|
58791
|
59055
|
59056
|
59057
|
59058
|
59392
|
59393
|
59394
|
59395
|
59713
|
59714
|
59743
|
59744
|
59745
|
59746
|
60626
|
60654
|
60789