Commit 40386b31 by Douglas Hall

Fix student profile data download for courses with extended profile fields

parent 81d2c75d
......@@ -337,7 +337,7 @@ def submit_calculate_students_features_csv(request, course_key, features):
"""
task_type = 'profile_info_csv'
task_class = calculate_students_features_csv
task_input = {'features': features}
task_input = features
task_key = ""
return submit_task(request, task_type, task_class, course_key, task_input, task_key)
......
......@@ -996,7 +996,7 @@ def upload_students_csv(_xmodule_instance_args, _entry_id, course_id, task_input
task_progress.update_task_state(extra_meta=current_step)
# compute the student features table and format it
query_features = task_input.get('features')
query_features = task_input
student_data = enrolled_students_features(course_id, query_features)
header, rows = format_dictlist(student_data, query_features)
......
Markdown is supported
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