mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 19:17:13 -05:00 
			
		
		
		
	Filter out old migrated tasks
This commit is contained in:
		
							parent
							
								
									c8f252d165
								
							
						
					
					
						commit
						5162bdd404
					
				@ -879,6 +879,7 @@ class TasksViewSet(ReadOnlyModelViewSet):
 | 
			
		||||
    queryset = (
 | 
			
		||||
        PaperlessTask.objects.filter(
 | 
			
		||||
            acknowledged=False,
 | 
			
		||||
            attempted_task__isnull=False,
 | 
			
		||||
        )
 | 
			
		||||
        .order_by("attempted_task__date_created")
 | 
			
		||||
        .reverse()
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user