CiviMail: distinct events in API Mailing stats (default)
authorscardinius <scardinius@chords.pl>
Mon, 3 Aug 2015 11:34:20 +0000 (13:34 +0200)
committerscardinius <scardinius@chords.pl>
Mon, 3 Aug 2015 11:34:20 +0000 (13:34 +0200)
api/v3/Mailing.php

index a94b2b513ad2e5c6dc79913f29f6bdbd9827ae19..468d358e535317d5039f1f3b26ae3c0f2903f27e 100755 (executable)
@@ -661,6 +661,7 @@ function civicrm_api3_mailing_send_test($params) {
 function _civicrm_api3_mailing_stats_spec(&$params) {
   $params['date']['api.default'] = 'now';
   $params['date']['title'] = 'Date';
+  $params['is_distinct']['api.default'] = FALSE;
 }
 
 /**