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
use C4::Context;
use C4::Utils::DataTables;
use Koha::DateUtils;
+use C4::Members::Attributes qw(SearchIdMatchingAttribute );
sub search {
my ( $params ) = @_;