From 8237d16fc79e43151ea8d6232921a6a01f307c1e 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 --- .../prog/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 aa11b41975..5cc14b24c4 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