mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-07 15:25:41 +01:00
Connects up the celery signals to support pending, started and success/failure, without relying on django-celery-results
This commit is contained in:
parent
9b01c96846
commit
a72cc5da83
8 changed files with 479 additions and 173 deletions
|
|
@ -886,9 +886,8 @@ class TasksViewSet(ReadOnlyModelViewSet):
|
|||
queryset = (
|
||||
PaperlessTask.objects.filter(
|
||||
acknowledged=False,
|
||||
attempted_task__isnull=False,
|
||||
)
|
||||
.order_by("attempted_task__date_created")
|
||||
.order_by("date_created")
|
||||
.reverse()
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue