mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	fix navigation to /documents breaks history
This commit is contained in:
		@@ -225,6 +225,7 @@ export class DocumentListViewService {
 | 
			
		||||
            let base = ['/documents']
 | 
			
		||||
            this.router.navigate(base, {
 | 
			
		||||
              queryParams: paramsFromViewState(activeListViewState),
 | 
			
		||||
              replaceUrl: !this.router.routerState.snapshot.url.includes('?'), // in case navigating from params-less /documents
 | 
			
		||||
            })
 | 
			
		||||
          } else if (this._activeSavedViewId) {
 | 
			
		||||
            this.router.navigate([], {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user