mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-07 15:25:41 +01:00
fixed filter not showing all tags/correspondents/types
This commit is contained in:
parent
216cc848b3
commit
77b2e15ea6
2 changed files with 5 additions and 5 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue