From 507dfe45addc29ab0f9867c39cc3609216026e02 Mon Sep 17 00:00:00 2001 From: Jan Date: Wed, 9 Oct 2024 19:16:29 +0200 Subject: [PATCH] Adjust frontend default ordering (#277) to match text description Fixes #276 --- .../app/admin/entity-audit/entity-audit.component.ts.ejs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/generators/angular-audit/templates/src/main/webapp/app/admin/entity-audit/entity-audit.component.ts.ejs b/generators/angular-audit/templates/src/main/webapp/app/admin/entity-audit/entity-audit.component.ts.ejs index ef0f807..0193102 100644 --- a/generators/angular-audit/templates/src/main/webapp/app/admin/entity-audit/entity-audit.component.ts.ejs +++ b/generators/angular-audit/templates/src/main/webapp/app/admin/entity-audit/entity-audit.component.ts.ejs @@ -51,8 +51,8 @@ export default class EntityAuditComponent implements OnInit { }); private _audits = signal([]); - private orderProp = signal('entityId'); - private ascending = signal(true); + private orderProp = signal('modifiedDate'); + private ascending = signal(false); private modalService = inject(NgbModal); private service = inject(EntityAuditService);