mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-21 23:38:13 +00:00
Filter out old migrated tasks
This commit is contained in:
1 parent
c8f252d165
commit
5162bdd404
1 file changed
+1
@@ -879,6 +879,7 @@ class TasksViewSet(ReadOnlyModelViewSet):
|
||||
queryset = (
|
||||
PaperlessTask.objects.filter(
|
||||
acknowledged=False,
|
||||
attempted_task__isnull=False,
|
||||
)
|
||||
.order_by("attempted_task__date_created")
|
||||
.reverse()
|
||||
|
||||
Reference in new issue
Block a user