openedx / course-discovery

Service providing access to consolidated course and program metadata
https://edx-discovery.readthedocs.io/en/latest/
GNU Affero General Public License v3.0
57 stars 171 forks source link

Revert "fix: search/all breakage" #4384

Closed zawan-ila closed 2 months ago

zawan-ila commented 2 months ago

PROD-4101

In 4377 we removed restriction_type from the CourseRunSearchDocumentSerializer as it was causing issues due to update_index not having completed and hence the restriction_type field not being present in the index. Now that update_index has completed successfully, we are adding the field back to the serializer.