mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-09-01 01:46:16 +00: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)
|
Object.assign(this.document, this.documentForm.value)
|
||||||
})
|
})
|
||||||
|
|
||||||
this.correspondentService.list(1,100000).subscribe(result => this.correspondents = result.results)
|
this.correspondentService.listAll().subscribe(result => this.correspondents = result.results)
|
||||||
this.documentTypeService.list(1,100000).subscribe(result => this.documentTypes = result.results)
|
this.documentTypeService.listAll().subscribe(result => this.documentTypes = result.results)
|
||||||
|
|
||||||
this.route.paramMap.subscribe(paramMap => {
|
this.route.paramMap.subscribe(paramMap => {
|
||||||
this.documentId = +paramMap.get('id')
|
this.documentId = +paramMap.get('id')
|
||||||
|
@@ -52,9 +52,9 @@ export class FilterEditorComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
this.correspondentService.list().subscribe(result => {this.correspondents = result.results})
|
this.correspondentService.listAll().subscribe(result => {this.correspondents = result.results})
|
||||||
this.tagService.list().subscribe(result => this.tags = result.results)
|
this.tagService.listAll().subscribe(result => this.tags = result.results)
|
||||||
this.documentTypeService.list().subscribe(result => this.documentTypes = result.results)
|
this.documentTypeService.listAll().subscribe(result => this.documentTypes = result.results)
|
||||||
}
|
}
|
||||||
|
|
||||||
getRuleTypes() {
|
getRuleTypes() {
|
||||||
|
Reference in New Issue
Block a user