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

Filter out not live programs #1954

Merged
merged 1 commit into from
Oct 17, 2023
Merged

Filter out not live programs #1954

merged 1 commit into from
Oct 17, 2023

Conversation

annagav
Copy link
Contributor

@annagav annagav commented Oct 16, 2023

What are the relevant tickets?

Fix #1934

Description (What does it do?)

When enrolling user in a course, enroll them also in associated LIVE programs only.

How can this be tested?

Enroll you user in a course run that is a requirement in a program. If the program is not "live" the should be no program enrollment.
If you set program.live = True then when you enroll in a course a program enrollment should be created.

@rachellougee rachellougee self-assigned this Oct 17, 2023
Copy link
Contributor

@rachellougee rachellougee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@annagav annagav merged commit 1e5a235 into main Oct 17, 2023
@annagav annagav deleted the ag/only_live_programs branch October 17, 2023 17:27
@odlbot odlbot mentioned this pull request Oct 17, 2023
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Learners that completed DEDP before the split need to see their certificate
2 participants