mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	fixed filter not showing all tags/correspondents/types
This commit is contained in:
		@@ -60,8 +60,8 @@ export class DocumentDetailComponent implements OnInit {
 | 
			
		||||
      Object.assign(this.document, this.documentForm.value)
 | 
			
		||||
    })
 | 
			
		||||
 | 
			
		||||
    this.correspondentService.list(1,100000).subscribe(result => this.correspondents = result.results)
 | 
			
		||||
    this.documentTypeService.list(1,100000).subscribe(result => this.documentTypes = result.results)
 | 
			
		||||
    this.correspondentService.listAll().subscribe(result => this.correspondents = result.results)
 | 
			
		||||
    this.documentTypeService.listAll().subscribe(result => this.documentTypes = result.results)
 | 
			
		||||
 | 
			
		||||
    this.route.paramMap.subscribe(paramMap => {
 | 
			
		||||
      this.documentId = +paramMap.get('id')
 | 
			
		||||
 
 | 
			
		||||
@@ -52,9 +52,9 @@ export class FilterEditorComponent implements OnInit {
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  ngOnInit(): void {
 | 
			
		||||
    this.correspondentService.list().subscribe(result => {this.correspondents = result.results})
 | 
			
		||||
    this.tagService.list().subscribe(result => this.tags = result.results)
 | 
			
		||||
    this.documentTypeService.list().subscribe(result => this.documentTypes = result.results)
 | 
			
		||||
    this.correspondentService.listAll().subscribe(result => {this.correspondents = result.results})
 | 
			
		||||
    this.tagService.listAll().subscribe(result => this.tags = result.results)
 | 
			
		||||
    this.documentTypeService.listAll().subscribe(result => this.documentTypes = result.results)
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  getRuleTypes() {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user