From da1e815122bd8c1e74d7dcfa5d417337847dd6a6 Mon Sep 17 00:00:00 2001 From: Johan Castiblanco Date: Thu, 2 Jul 2026 17:21:27 -0500 Subject: [PATCH] fix: add missing `course` filter attribute this is used to delete courses. (cherry picked from commit 1db1bfda59bf975303181b8d1a3b625325a6754a) --- search/meilisearch.py | 1 + 1 file changed, 1 insertion(+) diff --git a/search/meilisearch.py b/search/meilisearch.py index 3e0999ab..f8ab4535 100644 --- a/search/meilisearch.py +++ b/search/meilisearch.py @@ -95,6 +95,7 @@ # Note that index names are hard-coded here, because they are hardcoded anyway across all of edx-search. INDEX_FILTERABLES: dict[str, list[str]] = { getattr(settings, "COURSEWARE_INFO_INDEX_NAME", "course_info"): [ + "course", "language", # aggregate by language, mode, org "modes", "org",