Bug 15388 - Show Syndetics covers by UPC in search results
authorNick Clemens <nick@bywatersolutions.com>
Fri, 26 Aug 2016 19:20:34 +0000 (19:20 +0000)
committerFrédéric Demians <f.demians@tamil.fr>
Sat, 22 Oct 2016 12:27:47 +0000 (14:27 +0200)
commita7741759aa501c8545b6acd97c0a2d851a148c12
tree6fc719a5e17aa5b8944663699cae1b1adb9216d5
parent5dced305bbaa54a831bd830f900fc9d29bf3e13d
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>
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
(cherry picked from commit dbf2f7d6d97686179a1e794e0c74ad8be441a177)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt