From 87f21ae2452b4fbeddcc26f8ff2a7427add3710c Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 4 Oct 2016 12:57:13 +0100 Subject: [PATCH] Bug 14874: Set default DefaultPatronSearchFields just in case... Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall --- C4/Utils/DataTables/Members.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Utils/DataTables/Members.pm b/C4/Utils/DataTables/Members.pm index 132b09694a..2446703ab4 100644 --- a/C4/Utils/DataTables/Members.pm +++ b/C4/Utils/DataTables/Members.pm @@ -76,7 +76,7 @@ sub search { } my $searchfields = { - standard => C4::Context->preference('DefaultPatronSearchFields'), + standard => C4::Context->preference('DefaultPatronSearchFields') || 'surname,firstname,othernames,cardnumber,userid', surname => 'surname', email => 'email,emailpro,B_email', borrowernumber => 'borrowernumber', -- 2.39.5