mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
bugfix
This commit is contained in:
parent
b7126030d1
commit
381a503947
@ -76,6 +76,7 @@ export class DocumentListComponent implements OnInit {
|
||||
|
||||
loadViewConfig(view: PaperlessSavedView) {
|
||||
this.list.load(view)
|
||||
this.list.reload()
|
||||
}
|
||||
|
||||
saveViewConfig() {
|
||||
|
@ -76,11 +76,10 @@ export class DocumentListViewService {
|
||||
}
|
||||
|
||||
load(view: PaperlessSavedView) {
|
||||
this.view.filter_rules = cloneFilterRules(view.filter_rules)
|
||||
this.view.sort_reverse = view.sort_reverse
|
||||
this.view.sort_field = view.sort_field
|
||||
this.documentListView.filter_rules = cloneFilterRules(view.filter_rules)
|
||||
this.documentListView.sort_reverse = view.sort_reverse
|
||||
this.documentListView.sort_field = view.sort_field
|
||||
this.saveDocumentListView()
|
||||
this.reload()
|
||||
}
|
||||
|
||||
clear() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user