mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	bugfix
This commit is contained in:
		| @@ -111,7 +111,8 @@ export class DocumentListViewService { | |||||||
|           this.isReloading = false |           this.isReloading = false | ||||||
|         }, |         }, | ||||||
|         error => { |         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.currentPage = 1 | ||||||
|             this.reload() |             this.reload() | ||||||
|           } |           } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 jonaswinkler
					jonaswinkler