Skip to content

Commit a4edf0d

Browse files
committed
docs: get_containers_with_entity TODO followup link
1 parent 26cbd1e commit a4edf0d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • openedx_learning/apps/authoring/publishing

openedx_learning/apps/authoring/publishing/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1371,7 +1371,7 @@ def get_containers_with_entity(
13711371
ignore_pinned: if true, ignore any pinned references to the entity.
13721372
"""
13731373
if ignore_pinned:
1374-
# TODO: Do we need to run distinct() on this?
1374+
# TODO: Do we need to run distinct() on this? Will fix in https://github.com/openedx/openedx-learning/issues/303
13751375
qs = Container.objects.filter(
13761376
# Note: these two conditions must be in the same filter() call, or the query won't be correct.
13771377
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)