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>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
This commit is contained in:
Srdjan 2015-12-14 20:01:18 +13:00 committed by Brendan Gallagher
parent e93ffac3f1
commit e8fbf42254
3 changed files with 9 additions and 0 deletions

View file

@ -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');

View file

@ -346,6 +346,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'),

View file

@ -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
-