mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	bugfix
This commit is contained in:
		@@ -111,7 +111,8 @@ export class DocumentListViewService {
 | 
			
		||||
          this.isReloading = false
 | 
			
		||||
        },
 | 
			
		||||
        error => {
 | 
			
		||||
          if (error.error['detail'] == 'Invalid page.') {
 | 
			
		||||
          if (this.currentPage != 1 && error.status == 404) {
 | 
			
		||||
            // this happens when applying a filter: the current page might not be available anymore due to the reduced result set.
 | 
			
		||||
            this.currentPage = 1
 | 
			
		||||
            this.reload()
 | 
			
		||||
          }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user