Bug 18799: XSLTresultsdisplay hides the icons
authorOwen Leonard <oleonard@myacpl.org>
Thu, 15 Jun 2017 12:32:43 +0000 (12:32 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 5 Jun 2018 07:26:20 +0000 (09:26 +0200)
commitaec676d8cbf419a1b4e76097eaf4b50ba15ad12b
treeca9905566fbe32caae6b05ef596d77f89fe8c32d
parentfe8892ede93a847df0dc069838e0a4af73d1cf25
Bug 18799: XSLTresultsdisplay hides the icons

If item-level_itypes is turned off and XSLTResultsDisplay is turned on,
biblio-level itemtype images are not shown in staff client search
results. This patch corrects the problem.

This patch also adds some markup and CSS to the itemtype image to make
it look a litte cleaner and work better in result sets in which some
titles have images and some don't.

To test, apply the patch and view the staff client search results page
with various settings:

- XSLT turned on and off
- item-level_itypes turned on and off
- noItemTypeImages turned on and off

Confirm that item type images are shown or not shown correctly according
to each setting.

The difference between this patch and the other patch currently on this
bug is that this patch continues the practice of hiding biblio-level
itemtype information when item-level_itypes is ON.

Signed-off-by: Victor Grousset <victor.grousset@biblibre.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 3c5843b1564cc2f1cab2c6bb8be7556b51730631)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/css/staff-global.css
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt