From: Laury GvR Date: Thu, 4 Oct 2018 18:58:03 +0000 (-0400) Subject: Fixing the event list data sent through the filter X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=2fd261d86e2fab5fba7a2b8d59c4fdbd2ccd3848;p=WP-Plugins%2Fglm-member-db-events.git Fixing the event list data sent through the filter --- 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', ], ], ]