From e2bcdbf70a4efbb3575e3f08724f0f17692546c3 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Tue, 18 May 2021 14:40:13 +0000 Subject: [PATCH] Bug 28372: Use variables instead of repeated field lookup This simply replaces repeated lookups of the field with a variable test To test: 1 - Perform a search on the staff client 2 - Note the 'Format' in the record results 3 - Apply patch 4 - Repeat search 5 - Confirm Formats are unchanged Signed-off-by: David Nind https://bugs.koha-community.org/show_bug.cgi?id=2837 --- .../en/xslt/MARC21slim2intranetResults.xsl | 116 +++++++++--------- 1 file changed, 60 insertions(+), 56 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl index ab6bbb9530..94fd5e4039 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl @@ -103,172 +103,175 @@ - + + + + chip cartridge - + magnetic disc - + magneto-optical disc - + available online - + tape cartridge - + tape cassette - + tape reel - + kit - + atlas - + diagram - + map - + model - + profile - + remote-sensing image - + section - + view - + aperture card - + microfiche - + microfiche cassette - + microfilm cartridge - + microfilm cassette - + microfilm reel - + microopaque - + film cartridge - + film cassette - + film reel - + collage - + photomechanical print - + photonegative - + photoprint - + print - + technical drawing - + filmslip - + filmstrip cartridge - + filmstrip roll - + other filmstrip type - + transparency - + remote-sensing image - + cylinder - + roll - + sound cartridge - + sound cassette - + sound-tape reel - + sound-track film - + wire recording - + combination - + braille - + moon - + tactile, with no writing system - + braille - + regular print - + text in looseleaf binder - + videocartridge - + videocassette - + videoreel