Skip to content
Snippets Groups Projects
Commit 2f737220 authored by stvn's avatar stvn
Browse files

Update masquerade API to show only active partitions

parent 994b2b00
Branches
Tags
No related merge requests found
......@@ -96,7 +96,7 @@ class MasqueradeView(View):
user_name=None,
)
descriptor = modulestore().get_course(course_key)
partitions = get_all_partitions_for_course(descriptor)
partitions = get_all_partitions_for_course(descriptor, active_only=True)
data = {
'success': True,
'active': {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment