From 2fd261d86e2fab5fba7a2b8d59c4fdbd2ccd3848 Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Thu, 4 Oct 2018 14:58:03 -0400 Subject: [PATCH] Fixing the event list data sent through the filter --- setup/adminHooks.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/setup/adminHooks.php b/setup/adminHooks.php index 94e431d..323ac04 100644 --- a/setup/adminHooks.php +++ b/setup/adminHooks.php @@ -362,12 +362,12 @@ add_filter( 'result' => $Events->getList("status=".$Events->config['status_numb']['Pending'], $order, $fieldVals, $idField, $start, $limit), 'count' => $Events->getStats("status=".$Events->config['status_numb']['Pending'], $order, $fieldVals, $idField, $start, $limit), 'fieldMap' => [ - 'id' => 'id', - 'ref_dest_name' => 'ref_dest', + 'ID' => 'id', 'name' => 'name', - 'ref_type' => 'ref_type', - 'ref_dest_id' => 'ref_dest_id', - 'status' => 'status' + 'status' => 'status', + 'refDestID' => 'ref_dest_id', + 'refDestName' => 'ref_dest', + 'refType' => 'ref_type', ], ], ] -- 2.17.1