We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5e0bdb commit 3aca6cbCopy full SHA for 3aca6cb
openedx_learning/apps/authoring/publishing/api.py
@@ -1355,7 +1355,7 @@ def get_containers_with_entity(
1355
ignore_pinned: if true, ignore any pinned references to the entity.
1356
"""
1357
if ignore_pinned:
1358
- # TODO: Do we need to run distinct() on this?
+ # TODO: Do we need to run distinct() on this? Will fix in https://github.com/openedx/openedx-learning/issues/303
1359
qs = Container.objects.filter(
1360
# Note: these two conditions must be in the same filter() call, or the query won't be correct.
1361
publishable_entity__draft__version__containerversion__entity_list__entitylistrow__entity_id=publishable_entity_pk, # pylint: disable=line-too-long # noqa: E501
0 commit comments