X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=src%2Fapp%2Finstances%2Fpdu-instances%2FPDUInstancesComponent.ts;h=6a2ca34db6d4a3b56c2172385a6fbea3e46f1fb2;hb=refs%2Fchanges%2F63%2F13963%2F2;hp=5c25279283d8a1ca51cd8055e3250c0c04617d65;hpb=1132258413328f80cb8b2453dc4b3d24318bd3e5;p=osm%2FNG-UI.git diff --git a/src/app/instances/pdu-instances/PDUInstancesComponent.ts b/src/app/instances/pdu-instances/PDUInstancesComponent.ts index 5c25279..6a2ca34 100644 --- a/src/app/instances/pdu-instances/PDUInstancesComponent.ts +++ b/src/app/instances/pdu-instances/PDUInstancesComponent.ts @@ -124,10 +124,13 @@ export class PDUInstancesComponent implements OnInit, OnDestroy { public generateTableColumn(): void { this.columnList = { identifier: { title: this.translateService.instant('IDENTIFIER'), width: '25%' }, - name: { title: this.translateService.instant('NAME'), width: '20%', sortDirection: 'asc' }, + name: { title: this.translateService.instant('NAME'), width: '20%' }, type: { title: this.translateService.instant('TYPE'), width: '15%' }, usageState: { title: this.translateService.instant('USAGESTATE'), width: '15%' }, - CreatedAt: { title: this.translateService.instant('CREATEDAT'), width: '15%' }, + CreatedAt: { + title: this.translateService.instant('CREATEDAT'), width: '15%', sortDirection: 'desc', + compareFunction: this.sharedService.compareFunction + }, Actions: { name: 'Action', width: '10%', filter: false, sort: false, type: 'custom', title: this.translateService.instant('ACTIONS'),