Koha/koha-tmpl/opac-tmpl/bootstrap
Owen Leonard 1bddf5f3ba
Bug 10879: OverDrive should check for OverDriveLibraryID before performing search
This patch modifies the OPAC search results template to check for three
populated system preferences before performing an OverDrive search:
OverDriveLibraryID, OverDriveClientKey, and OverDriveClientSecret.
Previously OverDriveLibraryID was not checked, but without it the
interface reports an error performing the search.

To test you must have credentials for the OverDrive API as defined
in OverDriveClientKey, OverDriveClientSecret, and OverDriveLibraryID
system preferences.

 - With OverDriveLibraryID defined, the catalog search results page in
   the OPAC should show a link to results in the library's OverDrive
   collection.

 - With no value in the OverDriveLibraryID preference the catalog
   search page should not show any message about an OverDrive
   collection.

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-02-04 10:21:07 +00:00
..
css Bug 23915: Replace OPAC list sort menu with Bootstrap menu button 2020-01-30 10:54:35 +00:00
en Bug 10879: OverDrive should check for OverDriveLibraryID before performing search 2020-02-04 10:21:07 +00:00
images Bug 23903: Replace OPAC icons with Font Awesome 2019-10-31 15:40:25 +00:00
itemtypeimg
js Bug 24341: Allow for more complex markup in OPAC confirmation dialogs 2020-01-20 14:03:50 +00:00
lib Bug 23903: Font Awesome upgrade 2019-10-31 15:40:25 +00:00