Merged in fix/export-person-data (pull request #370)

Include sensitive data
This commit is contained in:
Christian Cueni 2024-08-05 07:24:35 +00:00
commit 95de81e4cf
1 changed files with 3 additions and 1 deletions

View File

@ -31,7 +31,9 @@ def export_persons(
# remove the first sheet is just easier than keeping track of the active sheet # remove the first sheet is just easier than keeping track of the active sheet
wb.remove(wb.active) wb.remove(wb.active)
user_with_roles = create_person_list_with_roles(user, course_session_ids) user_with_roles = create_person_list_with_roles(
user, course_session_ids, include_private_data=True
)
course_sessions = CourseSession.objects.filter(id__in=course_session_ids) course_sessions = CourseSession.objects.filter(id__in=course_session_ids)
for cs in course_sessions: for cs in course_sessions: