From 6493b62e6a0a5e535756fc3d6a2cd477ab426de7 Mon Sep 17 00:00:00 2001 From: cris Date: Thu, 9 Mar 2023 21:00:36 +0000 Subject: [PATCH] adding sortConfig --- src/app/collection-page/collection-page.component.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/collection-page/collection-page.component.ts b/src/app/collection-page/collection-page.component.ts index ce3b4e19b0..4987796c2a 100644 --- a/src/app/collection-page/collection-page.component.ts +++ b/src/app/collection-page/collection-page.component.ts @@ -77,7 +77,8 @@ export class CollectionPageComponent implements OnInit { currentPage: 1, pageSize: this.appConfig.browseBy.pageSize, }); - + + this.sortConfig = new SortOptions('dc.date.accessioned', SortDirection.DESC); } ngOnInit(): void {