Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

fixed filter not showing all tags/correspondents/types

Jonas Winkler77b2e15ea62b
diff --git a/src-ui/src/app/components/document-detail/document-detail.component.ts b/src-ui/src/app/components/document-detail/document-detail.component.ts
index 571192b04..ad9a3ac07 100644
--- a/src-ui/src/app/components/document-detail/document-detail.component.ts
+++ b/src-ui/src/app/components/document-detail/document-detail.component.ts
@@ -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')
diff --git a/src-ui/src/app/components/filter-editor/filter-editor.component.ts b/src-ui/src/app/components/filter-editor/filter-editor.component.ts
index 8c47ceafb..dc23450c5 100644
--- a/src-ui/src/app/components/filter-editor/filter-editor.component.ts
+++ b/src-ui/src/app/components/filter-editor/filter-editor.component.ts
@@ -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() {