fix: return items in _get_render_metadata without validate prereq_met #305
+1
−3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR finds a solution to the problem reported in openedx/frontend-app-learning#1546
The endpoint
{{domain}}/api/courseware/sequence/{{sequenceId}}
was not returning the units (items) when the section (sequence) had a prerequisite.Before:
391659904-65c09750-21c9-47d2-b4db-ad37ee1c0ac3.webm
After:
https://github.com/user-attachments/assets/c0864e2d-2ab0-4aa0-bbac-c94f31c35ba5
Supporting information
openedx/frontend-app-learning#1546
Testing instructions