hide archived mailshots and campaigns

This commit is contained in:
Marek Isalski 2018-05-20 15:16:01 +01:00
parent 3a7cf22641
commit bb073cf149

View File

@ -35,6 +35,8 @@ function fulcrm_mailshot_user_mailshots( $page = 1 ) {
'page_size' => $page_size,
'page' => $page,
'completed__isnull' => false,
'archived__isnull' => true,
'campaign__archived__isnull' => true,
'expand' => implode( ',', array( 'campaign',
'campaign.d',
) ) ) );