From 5cbac8ae358c36cfced362c8c11cbd083710c6b8 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Thu, 4 Oct 2018 14:48:51 -0400 Subject: [PATCH] adding concat select statement for the dashboard widget admin hook for the text search --- setup/adminHooks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/adminHooks.php b/setup/adminHooks.php index b274698..99c4417 100644 --- a/setup/adminHooks.php +++ b/setup/adminHooks.php @@ -216,7 +216,7 @@ add_filter( 'template' => 'textSearch', 'entityID' => 'event', 'table' => $contactsTable, - 'fields' => "concat(fname, ' ', lname) as name,id,image,ref_dest", + 'fields' => 'concat(fname," ",lname) as name,id,image,ref_dest', 'resultUrl' => $contactsEditPage.'&contact=', 'where' => 'fname OR lname' ], -- 2.17.1