From a37fd508eaa64ac534d2388e0d1cc59c98eb0cea Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Wed, 7 Mar 2018 09:35:19 +0200 Subject: [PATCH] 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 --- .../prog/en/xslt/MARC21slim2intranetResults.xsl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl index 0e8ebd6d31..3e508c048c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl @@ -829,7 +829,7 @@ 260 abcg - results_summary + results_summary publisher Publisher: @@ -915,7 +915,7 @@ - + Edition: @@ -928,7 +928,7 @@ - + Source: @@ -941,13 +941,13 @@ 246 ab - results_summary + results_summary other_title Other title: - + Other title: @@ -959,7 +959,7 @@ - + Online access: -- 2.11.0