mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-12 09:37:04 +01:00
Merge branch 'ui-improvements' into dev
This commit is contained in:
commit
a5129018d2
1 changed files with 2 additions and 2 deletions
|
|
@ -152,8 +152,8 @@ class DocumentAdmin(CommonAdmin):
|
|||
|
||||
def changelist_view(self, request, extra_context=None):
|
||||
response = super().changelist_view(request, extra_context)
|
||||
|
||||
self.document_queue = [doc.id for doc in response.context_data['cl'].queryset]
|
||||
if 'cl' in response.context_data:
|
||||
self.document_queue = [doc.id for doc in response.context_data['cl'].queryset]
|
||||
|
||||
return response
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue