Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rattrapage pour la coopération TE #3697

Closed
clairezed opened this issue Nov 18, 2024 · 1 comment
Closed

Rattrapage pour la coopération TE #3697

clairezed opened this issue Nov 18, 2024 · 1 comment

Comments

@clairezed
Copy link
Collaborator

Basculer tous les besoins avec la campagne france-transition-ecologique et tous les besoins de leur iframe en API transition-écologique-entreprises-api. L'iframe sera supprimé. On aura la vision globale avec la nouvelle provenance.

@clairezed clairezed converted this from a draft issue Nov 18, 2024
@clairezed
Copy link
Collaborator Author

landing_api_te = Landing.find_by(slug: 'transition-ecologique-entreprises-api')
Solicitation.where(landing_id: landing_api_te.id).size => 142

landing_iframe_te = Landing.find_by(slug: 'france-transition-ecologique')
iframe_te = Solicitation.where(landing_id: landing_iframe_te.id)
iframe_te.size => 575
iframe_te.update_all(landing_id: landing_api_te.id)

mtm_te = Solicitation.mtm_campaign_eq("france-transition-ecologique")
mtm_te.size => 813 (505 from landing_iframe_te, 308 from accueil)
mtm_te.update_all(landing_id: landing_api_te.id)

Solicitation.where(landing_id: landing_api_te.id).size => 1025 (142+575+308)

@github-project-automation github-project-automation bot moved this from Sprint - En cours to Sprint - Prêt in Conseillers-Entreprises Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Sprint - En production
Development

No branches or pull requests

1 participant