hide archived mailshots and campaigns

master
Marek Isalski 7 years ago
parent 3a7cf22641
commit bb073cf149

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

Loading…
Cancel
Save