mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-07 23:35:22 +01:00
fixes a one time issue when migrating to the new version.
This commit is contained in:
parent
6b60501dc7
commit
dec17a3b9b
1 changed files with 1 additions and 1 deletions
|
|
@ -201,7 +201,7 @@ export class DocumentListViewService {
|
||||||
this.documentListView = null
|
this.documentListView = null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!this.documentListView) {
|
if (!this.documentListView || !this.documentListView.filter_rules || !this.documentListView.sort_reverse || !this.documentListView.sort_field) {
|
||||||
this.documentListView = {
|
this.documentListView = {
|
||||||
filter_rules: [],
|
filter_rules: [],
|
||||||
sort_reverse: true,
|
sort_reverse: true,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue