Bugzilla – Attachment 56315 Details for
Bug 15388
Show Syndetics covers by UPC in search results
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 15388 - Show Syndetics covers by UPC in search results
PASSED-QA-Bug-15388---Show-Syndetics-covers-by-UPC.patch (text/plain), 2.24 KB, created by
Martin Renvoize (ashimema)
on 2016-10-13 09:32:54 UTC
(
hide
)
Description:
[PASSED QA] Bug 15388 - Show Syndetics covers by UPC in search results
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2016-10-13 09:32:54 UTC
Size:
2.24 KB
patch
obsolete
>From 16ff5fd20260a79eea12e8048173df190ae2da73 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 26 Aug 2016 19:20:34 +0000 >Subject: [PATCH] [PASSED QA] Bug 15388 - Show Syndetics covers by UPC in > search results > >Syndetics code accepts UPC and OCLC numbers, however, we were only passing this if there >was an ISBN. This patch alters the code to search if either an ISBN or >UPC is present > >To test: >Enable syndetics (will need an account) >Search for items with UPCs or OCLC numbers and no ISBN (DVDs) >Note there are no images in search results but there are in details >Apply patch >Note that items with images in details now also have images in results > >Signed-off-by: Barbara.Johnson@bedfordtx.gov > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >index 7301d70..7cd6b7a 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >@@ -236,7 +236,7 @@ > [% END %] > > [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %] >- [% IF SEARCH_RESULT.normalized_isbn %] >+ [% IF ( SEARCH_RESULT.normalized_isbn || SEARCH_RESULT.normalized_upc || SEARCH_RESULT.normalized_oclc ) %] > [% IF ( using_https ) %] > <span title="[% SEARCH_RESULT.biblionumber %]" id="syndetics-thumbnail[% loop.count %]"><img src="https://secure.syndetics.com/index.aspx?isbn=[% SEARCH_RESULT.normalized_isbn %]/SC.GIF&client=[% SyndeticsClientCode %]&type=xw10&upc=[% SEARCH_RESULT.normalized_upc %]&oclc=[% SEARCH_RESULT.normalized_oclc %]" alt="" class="item-thumbnail" /></span> > [% ELSE %] >-- >2.1.4
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 15388
:
54940
|
55007
| 56315