From 9c208a44313ed1f4bd12f8c9d3b45c5f2d386c5b Mon Sep 17 00:00:00 2001 From: Alex Arnaud Date: Fri, 6 Oct 2017 07:19:15 +0000 Subject: [PATCH] Bug 19418: (bug 12833 follow-up) Add missing use statement Patron search fail on calling svc/members/search. This script return a 500 error and the search stay on "Processing..." Test plan: - Enable ExtendedPatronAttributes system preference, - make a standard search (search fields), - check the search works and it doesn't stick on "Processing..." Signed-off-by: Jonathan Druart I do not recreate the issue, but the change make sense and the issue has been raised by several people --- C4/Utils/DataTables/Members.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/C4/Utils/DataTables/Members.pm b/C4/Utils/DataTables/Members.pm index 302eaffd17..b2e4963a73 100644 --- a/C4/Utils/DataTables/Members.pm +++ b/C4/Utils/DataTables/Members.pm @@ -4,6 +4,7 @@ use Modern::Perl; use C4::Context; use C4::Utils::DataTables; use Koha::DateUtils; +use C4::Members::Attributes qw(SearchIdMatchingAttribute ); sub search { my ( $params ) = @_; -- 2.39.5