Include disaply fields and mode for save view as
This commit is contained in:
parent
de4030994e
commit
df46f53e38
@ -266,6 +266,8 @@ export class DocumentListComponent
|
||||
filter_rules: this.list.filterRules,
|
||||
sort_reverse: this.list.sortReverse,
|
||||
sort_field: this.list.sortField,
|
||||
display_mode: this.list.displayMode,
|
||||
display_fields: this.activeDisplayFields,
|
||||
}
|
||||
|
||||
this.savedViewService
|
||||
|
@ -404,9 +404,13 @@ class SavedView(ModelWithOwner):
|
||||
CREATED = ("created", _("Created"))
|
||||
ADDED = ("added", _("Added"))
|
||||
TAGS = ("tag"), _("Tags")
|
||||
DOCUMENT_TYPE = ("documenttype", _("Document Type"))
|
||||
CORRESPONDENT = ("correspondent", _("Correspondent"))
|
||||
DOCUMENT_TYPE = ("documenttype", _("Document Type"))
|
||||
STORAGE_PATH = ("storagepath", _("Storage Path"))
|
||||
NOTES = ("note", _("Note"))
|
||||
OWNER = ("owner", _("Owner"))
|
||||
SHARED = ("shared", _("Shared"))
|
||||
ASN = ("asn", _("ASN"))
|
||||
CUSTOM_FIELD = ("custom_field_%d", ("Custom Field"))
|
||||
|
||||
name = models.CharField(_("name"), max_length=128)
|
||||
|
Loading…
x
Reference in New Issue
Block a user