]> git.koha-community.org Git - koha.git/commit
Bug 20347: Add missing classes to search results elements
authorPasi Kallinen <pasi.kallinen@joensuu.fi>
Wed, 7 Mar 2018 07:35:19 +0000 (09:35 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 19 Mar 2018 16:55:54 +0000 (13:55 -0300)
commit5dc0d1c8bc916ba3acaa6349199f5d9b60ffef8b
treeeed9c1750651c54679e801b093603dd2a9bfc3a8
parent79f5051ed767bcc50cd2187a57b136eabbb513fb
Bug 20347: Add missing classes to search results elements

The MARC21 XSLT doesn't add html classes to distinguish between
certain elements, and there's no way to rely on the element
positioning, making it impossible to style the elements with CSS.

Add the missing classes to distinguish the elements.

Test plan:
1) Apply patch
2) Search for any biblios
3) Check the search result page table HTML to see that the
   "Publisher", "Edition", "Source", "Other title", and "Online access"
   are wrapped in a span with class of results_summary and one
   of "publisher", "edition", "source", "other_title", and
   "online_access"
4) Check that the search results of the elements above looks correct
   when compared to the other elements

Signed-off-by: Pasi Kallinen <pasi.kallinen@joensuu.fi>
Signed-off-by: Sebastian Hierl <s.hierl@aarome.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl