improvements to the filter.

This commit is contained in:
jonaswinkler committed 2020-12-03 19:55:42 +01:00
1 parent c263d8e8f1
commit c4d13b5802
2 files changed
+8 -3

No files matched your search

@@ -53,11 +53,10 @@ export class DocumentListComponent implements OnInit {
this.list.savedView = this.savedViewConfigService.getConfig(params.get('id'))
} else {
this.list.savedView = null
this.showFilter = this.filterRules.length > 0
}
this.filterRules = this.list.filterRules
this.showFilter = this.filterRules.length > 0
// prevents temporarily visible results from previous views
this.list.documents = []
this.list.clear()
this.list.reload()
})
}