]> 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)
committerChris Cormack <chris@bigballofwax.co.nz>
Wed, 16 Jan 2013 06:05:08 +0000 (19:05 +1300)
commit4a95479a5a45b87acc59372ebcc8d84d2c21bc3d
tree3403eba382d7a4d76afc0f7efe8959877496c170
parent20de00b2185fecc27c5aaa2647fb1b15dec50383
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>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
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