This commit is contained in:
jonaswinkler 2020-12-22 01:17:07 +01:00
parent 38156123d4
commit e466158ce2

View File

@ -23,7 +23,7 @@ export class SavedViewWidgetComponent implements OnInit {
documents: PaperlessDocument[] = [] documents: PaperlessDocument[] = []
ngOnInit(): void { ngOnInit(): void {
this.documentService.list(1,10,this.savedView.sort_field, this.savedView.sort_reverse, this.savedView.filter_rules).subscribe(result => { this.documentService.listFiltered(1,10,this.savedView.sort_field, this.savedView.sort_reverse, this.savedView.filter_rules).subscribe(result => {
this.documents = result.results this.documents = result.results
}) })
} }