From 60a8cf60d6f59d01f84dbaf5cf9b1bdd3d0d06ba Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Thu, 1 Aug 2019 18:46:15 +0000 Subject: [PATCH] Bug 23407: Don't process items for staff results either We also don't use the items here, same test plan but on staff cleint results, should see no change --- C4/XSLT.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/XSLT.pm b/C4/XSLT.pm index 5507a3f6ea..7c2f6393b4 100644 --- a/C4/XSLT.pm +++ b/C4/XSLT.pm @@ -242,7 +242,7 @@ sub XSLTParse4Display { # grab the XML, run it through our stylesheet, push it out to the browser my $record = transformMARCXML4XSLT($biblionumber, $orig_record); - my $itemsxml = buildKohaItemsNamespace($biblionumber, $hidden_items) unless $xslsyspref eq "OPACXSLTDetailsDisplay" || $xslsyspref eq "XSLTDetailsDisplay"; + my $itemsxml = buildKohaItemsNamespace($biblionumber, $hidden_items) unless $xslsyspref eq "OPACXSLTDetailsDisplay" || $xslsyspref eq "XSLTDetailsDisplay" || $xslsyspref eq "XSLTResultsDisplay" ; my $xmlrecord = $record->as_xml(C4::Context->preference('marcflavour')); $variables ||= {}; -- 2.11.0