@@ -, +, @@ Koha::Library::Groups->all_libraries --- Koha/Library/Group.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/Koha/Library/Group.pm +++ a/Koha/Library/Group.pm @@ -144,8 +144,8 @@ sub all_libraries { my @libraries; - push (@libraries, $self->libraries); - my @children = $self->children->search({ branchcode => undef }); + push (@libraries, $self->libraries->as_list); + my @children = $self->children->search({ branchcode => undef })->as_list; foreach my $c (@children) { push( @libraries, $c->all_libraries ); } --