https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40482

--- Comment #1 from Lucas Gass (lukeg) <[email protected]> ---
Created attachment 184567
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=184567&action=edit
Bug 40482: Add useful data-attributes to cover image containers on OPAC/staff
search results

This patch adds useful data-attributes to the bookcover/bookcoverimg container
in the OPAC/staff search results.

To test:
0. APPLY PATCH
1. Turn on at least 1 image service for both the OPAC and staff interface
2. Do a search that returns results
3. You should see the following data attributes, even when no cover image is
supplied:

data-biblionumber
data-itemtype
data-itemtype_description
data-title
data-subtitle
data-author
data-isbn

You can now target these with just CSS.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to