From 25f18d2dec7a8f694c5a1e813bc5ed5ee845e66c Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Tue, 8 Mar 2022 13:25:07 +0000 Subject: [PATCH] Bug 20447: (follow-up) Get frameworks as list Signed-off-by: Nick Clemens --- cataloguing/addholding.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cataloguing/addholding.pl b/cataloguing/addholding.pl index 55e8fad6ff..29b425779b 100755 --- a/cataloguing/addholding.pl +++ b/cataloguing/addholding.pl @@ -688,7 +688,7 @@ $template->param( author => $biblio->author ); -my @frameworks = Koha::BiblioFrameworks->search({}, { order_by => ['frameworktext'] }); +my @frameworks = Koha::BiblioFrameworks->search({}, { order_by => ['frameworktext'] })->as_list(); $template->param( frameworks => \@frameworks, popup => $mode, -- 2.37.2