Skip to content
Snippets Groups Projects
Commit 9afbdee5 authored by Florent POITTEVIN's avatar Florent POITTEVIN
Browse files

fix: sort by retention and disposal approval on preservation policy list

parent 50e486fb
No related branches found
No related tags found
No related merge requests found
......@@ -65,8 +65,9 @@ export class AdminPreservationPolicyListRoutable extends SharedAbstractListRouta
header: MARK_AS_TRANSLATABLE("admin.preservationPolicy.table.header.dispositionApproval"),
type: FieldTypeEnum.boolean,
order: OrderEnum.none,
isFilterable: true,
isFilterable: false,
isSortable: true,
sortableField: "preservationPolicyInfo.dispositionApproval" as any,
},
{
field: "creation.when" as any,
......@@ -89,8 +90,9 @@ export class AdminPreservationPolicyListRoutable extends SharedAbstractListRouta
header: MARK_AS_TRANSLATABLE("admin.preservationPolicy.table.header.retention"),
type: FieldTypeEnum.number,
order: OrderEnum.none,
isFilterable: true,
isSortable: false,
isFilterable: false,
isSortable: true,
sortableField: "preservationPolicyInfo.retention" as any,
},
];
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment