corretti bug sull'invio email
This commit is contained in:
@@ -306,6 +306,7 @@ class MailingsController < ApplicationController
|
||||
def load_audience_options
|
||||
orgs = Organization.for_project(current_project)
|
||||
@sport_options = orgs.where.not(sport: [nil, ""]).distinct.order(:sport).pluck(:sport)
|
||||
@country_options = orgs.where.not(country: [nil, ""]).distinct.order(:country).pluck(:country)
|
||||
@region_options = orgs.where.not(region: [nil, ""]).distinct.order(:region).pluck(:region)
|
||||
@province_options = orgs.where.not(province: [nil, ""]).distinct.order(:province).pluck(:province)
|
||||
@history_mailings = Mailing.for_project(current_project).where.not(id: @mailing.id).recent
|
||||
@@ -329,7 +330,7 @@ class MailingsController < ApplicationController
|
||||
ActionController::Parameters.new(copied).permit(
|
||||
:preset, :list_min, :list_max, :estimated_value, :history_kind, :history_days,
|
||||
:history_mailing_id, :never_contacted, :exclude_customers, :exclude_mailed_within_days,
|
||||
sports: [], team_genders: [], regions: [], provinces: [], streaming_statuses: [], statuses: [],
|
||||
sports: [], countries: [], team_genders: [], regions: [], provinces: [], streaming_statuses: [], statuses: [],
|
||||
send_statuses: [], ab_variants: [], pipeline_stages: [],
|
||||
exclude_received_mailing_ids: [], exclude_opened_mailing_ids: []
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user