We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26cbd1e commit a4edf0dCopy full SHA for a4edf0d
1 file changed
openedx_learning/apps/authoring/publishing/api.py
@@ -1371,7 +1371,7 @@ def get_containers_with_entity(
1371
ignore_pinned: if true, ignore any pinned references to the entity.
1372
"""
1373
if ignore_pinned:
1374
- # 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
1375
qs = Container.objects.filter(
1376
# Note: these two conditions must be in the same filter() call, or the query won't be correct.
1377
publishable_entity__draft__version__containerversion__entity_list__entitylistrow__entity_id=publishable_entity_pk, # pylint: disable=line-too-long # noqa: E501
0 commit comments