From 36f547a1e2cd1375210dfc0169f7961e85018167 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Thu, 4 Oct 2018 16:37:29 -0400 Subject: [PATCH] fixing contacts text search --- setup/adminHooks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/adminHooks.php b/setup/adminHooks.php index 99c4417..7a3e685 100644 --- a/setup/adminHooks.php +++ b/setup/adminHooks.php @@ -218,7 +218,7 @@ add_filter( 'table' => $contactsTable, 'fields' => 'concat(fname," ",lname) as name,id,image,ref_dest', 'resultUrl' => $contactsEditPage.'&contact=', - 'where' => 'fname OR lname' + 'where' => 'concat(fname," ",lname)' ], ] ]; -- 2.17.1