@@ -, +, @@ --- C4/XSLT.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/C4/XSLT.pm +++ a/C4/XSLT.pm @@ -461,7 +461,7 @@ sub buildKohaHoldingsNamespace { my $shelflocations = { map { $_->{authorised_value} => $_->{opac_description} } Koha::AuthorisedValues->get_descriptions_by_koha_field( { frameworkcode => 'HLD', kohafield => 'holdings.location' } ) }; - my %branches = map { $_->branchcode => $_->branchname } Koha::Libraries->search({}, { order_by => 'branchname' }); + my %branches = map { $_->branchcode => $_->branchname } Koha::Libraries->search({}, { order_by => 'branchname' })->as_list(); my $location = ""; my $ccode = ""; --