Commit b94659bc by Vladislav

Исправление удаления визиток

1 parent 6498d629
Showing with 4 additions and 1 deletions
......@@ -540,7 +540,10 @@ class DictionaryCampaign extends Pivot
$query->whereNotNull('goal_advertisements.archive_at')
->orWhereNotNull('goal_advertisements.deleted_at')
->orWhereNull('goal_advertisements.id');
})->forExternal()->forNotReserveDelete()->select('goal_v_cards.*');
})->forExternal()
->forNotReserveDelete()
->groupBy('goal_v_cards.id')
->select('goal_v_cards.*');
}
public function goalAudienceTargets()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!