Bug 19418: (bug 12833 follow-up) Add missing use statement
authorAlex Arnaud <alex.arnaud@biblibre.com>
Fri, 6 Oct 2017 07:19:15 +0000 (07:19 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 10 Oct 2017 13:18:35 +0000 (10:18 -0300)
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 <jonathan.druart@bugs.koha-community.org>
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

index 302eaff..b2e4963 100644 (file)
@@ -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 ) = @_;