From f0d52581576a241795dd49e551b9ca24b4ade587 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 2 Sep 2025 12:36:24 +0200 Subject: [PATCH] Bug 40680: Fix svc/virtualshelves/search Attempt to call undefined import method with arguments (search) via package C4::Utils::DataTables::VirtualShelves (Perhaps you forgot to load the package?) at svc/virtualshelves/search line 8. --- svc/virtualshelves/search | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/svc/virtualshelves/search b/svc/virtualshelves/search index 1a14171a5a5..8a8b63e3e42 100755 --- a/svc/virtualshelves/search +++ b/svc/virtualshelves/search @@ -3,9 +3,9 @@ use Modern::Perl; use CGI; -use C4::Auth qw( get_template_and_user ); -use C4::Output qw( output_with_http_headers ); -use C4::Utils::DataTables::VirtualShelves qw( search ); +use C4::Auth qw( get_template_and_user ); +use C4::Output qw( output_with_http_headers ); +use C4::Utils::DataTables::VirtualShelves; my $input = CGI->new; -- 2.34.1