mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	fix back button double history bug
This commit is contained in:
		| @@ -74,8 +74,12 @@ export class QueryParamsService { | ||||
|     ) { | ||||
|       // this is navigating to /documents so we need to update the params from the list | ||||
|       this.updateFilterRules(this.list.filterRules, false) | ||||
|       this.sortField = this.list.sortField | ||||
|       this.sortReverse = this.list.sortReverse | ||||
|       this.sortParams[SORT_FIELD_PARAMETER] = this.list.sortField | ||||
|       this.sortParams[SORT_REVERSE_PARAMETER] = this.list.sortReverse | ||||
|       this.router.navigate([], { | ||||
|         queryParams: this.params, | ||||
|         replaceUrl: true, | ||||
|       }) | ||||
|     } | ||||
|   } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Michael Shamoon
					Michael Shamoon