From bd2c795e4b86b6cdfee73316c5ce366cb76c1c40 Mon Sep 17 00:00:00 2001 From: Pradeep Nayak Date: Mon, 22 May 2017 18:12:17 +0530 Subject: [PATCH] CRM-20620, fixed sorting ---------------------------------------- * CRM-20620: Use batch api to retrieve all the batches https://issues.civicrm.org/jira/browse/CRM-20620 --- CRM/Batch/Page/AJAX.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CRM/Batch/Page/AJAX.php b/CRM/Batch/Page/AJAX.php index e7f199182d..e80e597ad4 100644 --- a/CRM/Batch/Page/AJAX.php +++ b/CRM/Batch/Page/AJAX.php @@ -55,11 +55,11 @@ class CRM_Batch_Page_AJAX { */ public static function getBatchList() { $sortMapper = array( - 0 => 'batch.title', - 1 => 'batch.type_id', + 0 => 'title', + 1 => 'type_id', 2 => '', - 3 => 'batch.total', - 4 => 'batch.status_id', + 3 => 'total', + 4 => 'status_id', 5 => '', ); -- 2.25.1