Filter out old migrated tasks

This commit is contained in:
Michael Shamoon 2022-09-27 19:41:23 -07:00
parent c8f252d165
commit 5162bdd404

View File

@ -879,6 +879,7 @@ class TasksViewSet(ReadOnlyModelViewSet):
queryset = (
PaperlessTask.objects.filter(
acknowledged=False,
attempted_task__isnull=False,
)
.order_by("attempted_task__date_created")
.reverse()