feat: expose hide_from_toc field for course blocks in outline API (#33955)

These changes are part of the effort made to implement https://openedx.atlassian.net/wiki/spaces/OEPM/pages/3853975595/Feature+Enhancement+Proposal+Hide+Sections+from+course+outline
This commit is contained in:
Bryann Valderrama
2024-02-15 09:44:28 -05:00
committed by GitHub
parent fa66728a67
commit 4c0fba2063
4 changed files with 13 additions and 0 deletions

View File

@@ -115,6 +115,7 @@ def get_course_outline_block_tree(request, course_id, user=None, allow_start_dat
'completion',
'complete',
'resume_block',
'hide_from_toc',
],
allow_start_dates_in_future=allow_start_dates_in_future,
)