From eee478f61f53bdd6a06a12ec42d7924fd1162ed4 Mon Sep 17 00:00:00 2001 From: Pratik Joshi Date: Fri, 23 Aug 2013 20:49:00 +0530 Subject: [PATCH] CRM-13026 : search count fix --- CRM/Mailing/Selector/Search.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/Mailing/Selector/Search.php b/CRM/Mailing/Selector/Search.php index f3d954d4c0..a805364ce4 100644 --- a/CRM/Mailing/Selector/Search.php +++ b/CRM/Mailing/Selector/Search.php @@ -178,6 +178,7 @@ class CRM_Mailing_Selector_Search extends CRM_Core_Selector_Base implements CRM_ NULL, FALSE, FALSE, CRM_Contact_BAO_Query::MODE_MAILING ); + $this->_query->_distinctComponentClause = " civicrm_mailing_event_queue.id "; } //end of constructor -- 2.25.1