]> git.koha-community.org Git - koha.git/commit
Bug 7657 - Google and OpenLibrary image conflict
authorOwen Leonard <oleonard@myacpl.org>
Thu, 3 Jan 2013 17:53:23 +0000 (12:53 -0500)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Wed, 16 Jan 2013 02:51:51 +0000 (21:51 -0500)
commit9e332f95ab2389c93281bbf94efb2e21e4b96e30
tree45a99cf7277a9a32cbe5cc507c355ae4539b3da5
parent67a630e81fa8b72dd1ae454f2f0f300a07bc0f8e
Bug 7657 - Google and OpenLibrary image conflict

The JavaScript files which output Google and OpenLibrary cover images
each assumes it is the only source for cover images running. Each script
isn't specific enough to filter out markup generated by the other. This
patch corrects the specificity of the selector looking for markup
related to Google and OpenLibrary covers.

To test, enable both Google and OpenLibrary cover images in the OPAC.
Perform a search which will return results which include titles which
have covers from both services. Confirm that these covers appear
correctly and that "no cover" information still works correctly.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Added corrected Javascript to CCSR theme.

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
koha-tmpl/opac-tmpl/ccsr/en/js/google-jackets.js
koha-tmpl/opac-tmpl/ccsr/en/js/openlibrary.js
koha-tmpl/opac-tmpl/prog/en/js/google-jackets.js
koha-tmpl/opac-tmpl/prog/en/js/openlibrary.js