Bugzilla – Attachment 46655 Details for
Bug 6624
Allow Koha to use the new read API from OpenLibrary
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
bug_6624: OpenLibrarySearch syspref for OPAC
bug6624-OpenLibrarySearch-syspref-for-OPAC.patch (text/plain), 3.13 KB, created by
Nicole C. Engard
on 2016-01-14 15:31:56 UTC
(
hide
)
Description:
bug_6624: OpenLibrarySearch syspref for OPAC
Filename:
MIME Type:
Creator:
Nicole C. Engard
Created:
2016-01-14 15:31:56 UTC
Size:
3.13 KB
patch
obsolete
>From 826225f9ca11c9c2c16e1f3255e7c49e0ce09c6d Mon Sep 17 00:00:00 2001 >From: Srdjan <srdjan@catalyst.net.nz> >Date: Mon, 14 Dec 2015 20:01:18 +1300 >Subject: [PATCH] bug_6624: OpenLibrarySearch syspref for OPAC > >If set to Yes, OPAC search results and details will include buton from >Open Library Raed API. >In addition, Number of titles held in Open Library and the results link >will be reported on the search results screen. > >Signed-off-by: Nicole Engard <nengard@bywatersolutions.com> >--- > .../mysql/atomicupdate/bug_6624-OpenLibrarySearch_syspref.sql | 2 ++ > installer/data/mysql/sysprefs.sql | 1 + > .../prog/en/modules/admin/preferences/enhanced_content.pref | 6 ++++++ > 3 files changed, 9 insertions(+) > create mode 100644 installer/data/mysql/atomicupdate/bug_6624-OpenLibrarySearch_syspref.sql > >diff --git a/installer/data/mysql/atomicupdate/bug_6624-OpenLibrarySearch_syspref.sql b/installer/data/mysql/atomicupdate/bug_6624-OpenLibrarySearch_syspref.sql >new file mode 100644 >index 0000000..f9123c4 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_6624-OpenLibrarySearch_syspref.sql >@@ -0,0 +1,2 @@ >+INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) >+VALUES('OpenLibrarySearch','0','If Yes Open Library search results will show in OPAC',NULL,'YesNo'); >diff --git a/installer/data/mysql/sysprefs.sql b/installer/data/mysql/sysprefs.sql >index aa53139..1335f71 100644 >--- a/installer/data/mysql/sysprefs.sql >+++ b/installer/data/mysql/sysprefs.sql >@@ -345,6 +345,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` > ('OPACXSLTDetailsDisplay','default','','Enable XSL stylesheet control over details page display on OPAC','Free'), > ('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'), >+('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'), > ('OverDriveClientKey','','Client key for OverDrive integration','30','Free'), > ('OverDriveClientSecret','','Client key for OverDrive integration','30','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 1e68153..af9dea5 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 >@@ -116,6 +116,12 @@ Enhanced Content: > yes: Add > no: "Don't add" > - cover images from Open Library to search results and item detail pages on the OPAC. >+ - >+ - pref: OpenLibrarySearch >+ choices: >+ yes: Show >+ no: "Don't show" >+ - search results from Open Library on the OPAC. > Library Thing: > # Awkward syntax below, due to quoting conflicts > - >-- >1.7.10.4
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 6624
:
46291
|
46292
|
46293
|
46655
|
46656
|
46657
|
48152
|
48159
|
48160
|
48161
|
48162