@@ -, +, @@ Go to biblio Edit items Add multiple copies of this item Add 1000 and confirm Wait.. Press F12 in browser to open the console use the Network tab of the console note the load time refresh a few times to see average time --- C4/XSLT.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) --- a/C4/XSLT.pm +++ a/C4/XSLT.pm @@ -242,7 +242,12 @@ 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); + my $itemsxml; + if ( $xslsyspref eq "OPACXSLTDetailsDisplay" || $xslsyspref eq "XSLTDetailsDisplay" || $xslsyspref eq "XSLTResultsDisplay" ) { + $itemsxml = ""; #We don't use XSLT for items display on these pages + } else { + $itemsxml = buildKohaItemsNamespace($biblionumber, $hidden_items); + } my $xmlrecord = $record->as_xml(C4::Context->preference('marcflavour')); $variables ||= {}; --