mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-31 02:27:10 -04:00 
			
		
		
		
	bugfix
This commit is contained in:
		
							parent
							
								
									f0c94cc65f
								
							
						
					
					
						commit
						e3974c68ba
					
				| @ -132,8 +132,8 @@ class DocumentAdmin(CommonAdmin): | |||||||
| 
 | 
 | ||||||
|     def changelist_view(self, request, extra_context=None): |     def changelist_view(self, request, extra_context=None): | ||||||
|         response = super().changelist_view(request, extra_context) |         response = super().changelist_view(request, extra_context) | ||||||
| 
 |         if 'cl' in response.context_data: | ||||||
|         self.document_queue = [doc.id for doc in response.context_data['cl'].queryset] |             self.document_queue = [doc.id for doc in response.context_data['cl'].queryset] | ||||||
| 
 | 
 | ||||||
|         return response |         return response | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user