Skip to content

Commit 3aca6cb

Browse files
committed
docs: get_containers_with_entity TODO followup link
1 parent e5e0bdb commit 3aca6cb

File tree

1 file changed

+1
-1
lines changed
  • openedx_learning/apps/authoring/publishing

1 file changed

+1
-1
lines changed

openedx_learning/apps/authoring/publishing/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1355,7 +1355,7 @@ def get_containers_with_entity(
13551355
ignore_pinned: if true, ignore any pinned references to the entity.
13561356
"""
13571357
if ignore_pinned:
1358-
# TODO: Do we need to run distinct() on this?
1358+
# TODO: Do we need to run distinct() on this? Will fix in https://github.com/openedx/openedx-learning/issues/303
13591359
qs = Container.objects.filter(
13601360
# Note: these two conditions must be in the same filter() call, or the query won't be correct.
13611361
publishable_entity__draft__version__containerversion__entity_list__entitylistrow__entity_id=publishable_entity_pk, # pylint: disable=line-too-long # noqa: E501

0 commit comments

Comments
 (0)