mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-11 18:47:13 +00:00
bugfix
This commit is contained in:
1 parent
f0c94cc65f
commit
e3974c68ba
1 file changed
+2
-2
@@ -132,8 +132,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
|
||||
|
||||
|
||||
Reference in new issue
Block a user