From c8f66220e3bb0f371b126735e58cadf9d759d39d Mon Sep 17 00:00:00 2001 From: Dave Greenberg Date: Mon, 21 Oct 2013 16:16:41 -0700 Subject: [PATCH] CRM-13567 - Incorporate query fix for contribution detail reports to filter by Batch + fixing the getBatches BAO to remove unneeded filtering on batch type and batch status. Now we only exclude batches that are still in Data Entry status. ---------------------------------------- * CRM-13567: CiviContribute Detail report fails if you add batch data as a filter http://issues.civicrm.org/jira/browse/CRM-13567 --- CRM/Batch/BAO/Batch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Batch/BAO/Batch.php b/CRM/Batch/BAO/Batch.php index f085826c6b..c3bfdc219e 100644 --- a/CRM/Batch/BAO/Batch.php +++ b/CRM/Batch/BAO/Batch.php @@ -471,7 +471,7 @@ class CRM_Batch_BAO_Batch extends CRM_Batch_DAO_Batch { * function to get batch list * * @return array array of all batches - * excluding batches with data entry in progress (status_id = 3) + * excluding batches with data entry in progress */ static function getBatches() { $dataEntryStatusId = CRM_Core_OptionGroup::getValue('batch_status','Data Entry'); -- 2.25.1