Skip to content

Commit

Permalink
docs: minor comment update
Browse files Browse the repository at this point in the history
Collection.key is stored here, not ID
  • Loading branch information
pomegranited committed Sep 6, 2024
1 parent 1764e87 commit ae7926f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openedx/core/djangoapps/content/search/documents.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def _tags_for_content_object(object_id: UsageKey | LearningContextKey) -> dict:
and in Collections 3 and 4, this would return:
{
"tags": {
"collections": [3, 4],
"collections": ["Col_key1", "Col_key2"],
"taxonomy": ["Location", "Difficulty"],
"level0": ["Location > North America", "Difficulty > Hard"],
"level1": ["Location > North America > Canada"],
Expand Down

0 comments on commit ae7926f

Please sign in to comment.