Bugzilla – Attachment 16911 Details for
Bug 9660
OpenLibrary covers are too small on OPAC search results
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Patch
0001-PASSED-QA-Bug-9660-OpenLibrary-covers-are-too-small-.patch (text/plain), 1.51 KB, created by
Katrin Fischer
on 2013-03-26 22:32:15 UTC
(
hide
)
Description:
[PASSED QA] Patch
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2013-03-26 22:32:15 UTC
Size:
1.51 KB
patch
obsolete
>From d013541d6dd35f8157cd0ef5d9b163217322403a Mon Sep 17 00:00:00 2001 >From: Mason James <mtj@kohaaloha.com> >Date: Tue, 19 Feb 2013 16:24:15 +1300 >Subject: [PATCH] [PASSED QA] Bug 9660 - OpenLibrary covers are too small on > OPAC search results >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Signed-off-by: Frédéric Demians <f.demians@tamil.fr> > >Works as advertised. OpenLibrary book cover API offers 3 cover sizes: small, >medium, and large. Switch from small to medium, for result page, with >downsizing. > >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >Improves display of OpenLibrary covers in OPAC result list. >All tests and QA script pass. >--- > koha-tmpl/opac-tmpl/prog/en/js/openlibrary.js | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/prog/en/js/openlibrary.js b/koha-tmpl/opac-tmpl/prog/en/js/openlibrary.js >index c07ba3b..10a58dd 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/js/openlibrary.js >+++ b/koha-tmpl/opac-tmpl/prog/en/js/openlibrary.js >@@ -51,7 +51,8 @@ KOHA.OpenLibrary = { > $(this).append(img); > $(this).append('<div class="results_summary">' + '<a href="' + book.url + '">Preview</a></div>'); > } else { >- img.src = book.cover.small; >+ img.src = book.cover.medium; >+ img.height = '110'; > $(this).append(img); > } > } else { >-- >1.7.9.5 >
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 9660
:
15511
|
15512
|
15513
|
15523
| 16911