From be4ac7a9484c451c5dd7745d396e67fc09a562a4 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 6 Aug 2021 09:26:48 +0100 Subject: [PATCH] Bug 11175: (follow-up) Missed line in previous commit --- C4/XSLT.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/XSLT.pm b/C4/XSLT.pm index a9425e3b18..2f43c3d0b5 100644 --- a/C4/XSLT.pm +++ b/C4/XSLT.pm @@ -284,7 +284,7 @@ sub XSLTParse4Display { $variables->{ComponentPartQuery} = $search_query; my @componentPartRecordXML = (''); - for my $cb ( @{ $biblio->get_marc_components($max_results) } ) { + for my $cb ( @{ $components } ) { if( ref $cb eq 'MARC::Record'){ $cb = $cb->as_xml_record(); } else { -- 2.20.1