]> git.koha-community.org Git - koha.git/commit
Bug 24740: Use biblio title rather than biblio number in OPAC search result cover...
authorDidier Gautheron <didier.gautheron@biblibre.com>
Thu, 27 Feb 2020 09:51:19 +0000 (10:51 +0100)
committerJoy Nelson <joy@bywatersolutions.com>
Mon, 11 May 2020 20:32:54 +0000 (20:32 +0000)
commita2beeb8da9dbfb85e3314f56f642599419dff5e1
treebed3aae5aa6152f4b7adbedfe2b139187c9cd924
parentd14e25b57ed68637517da323d28108d5ea5b247b
Bug 24740: Use biblio title rather than biblio number in OPAC search result cover images tooltips

In OPAC biblionum doesn't mean much to patrons, use biblio title field if not empty.

Test plan:
OPAC search
1) Apply the patch
2) For each cover images providers available to tester in:
/cgi-bin/koha/admin/preferences.pl?tab=&op=search&searchfield=Cover
OPACLocalCoverImages, AdlibrisEnabled, OPACAmazonCoverImages, GoogleJackets, Coce provider.
3) Enable the provider.
4) Search a Library Catalog for a book with a cover image.
6) test mouse over cover image display biblio title.

OPAC Shelves
1) Enable OPAC virtualshelves preference
2) Create a list.
3) For each covers providers available.
4) Search the List
5) test mouse over cover image display biblio title.

Signed-off-by: Stina Hallin <stina.hallin@ub.lu.se>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/includes/shelfbrowser.inc
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt