From c3ca8a18dd57204b86ccb4a7447382ab4bac78db 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 Content-Type: text/plain; charset=utf-8 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 Signed-off-by: Marcel de Rooy --- 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 302eaff..b2e4963 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.1.4