From 224bca5991904ffecbda1a4f1aace73431b0e80b Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Thu, 26 May 2022 12:13:35 +0000 Subject: [PATCH] Bug 28371: (folllow-up) Cover cn_source case for transforming av --- C4/XSLT.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/C4/XSLT.pm b/C4/XSLT.pm index aa9b8e210e..ab39b5855e 100644 --- a/C4/XSLT.pm +++ b/C4/XSLT.pm @@ -104,6 +104,10 @@ sub transformMARCXML4XSLT { $updated = 1; } } + elsif ( $category eq "cn_source" ) { + my $source = GetClassSource($value); + return $source ? $source->{description} : q||; + } } push( @new_subfields, $letter, $value ); } -- 2.30.2