From 6192cf621c4baa8c12375426b2e2ab646e85d63e Mon Sep 17 00:00:00 2001 From: Daniel Palafox Date: Mon, 9 Oct 2023 20:06:49 -0500 Subject: [PATCH] fix: Sort by source is inverse --- .../record-affiliations-sort.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/core/record-affiliations-sort/record-affiliations-sort.service.ts b/src/app/core/record-affiliations-sort/record-affiliations-sort.service.ts index a9fdf69453..d0efe278ed 100644 --- a/src/app/core/record-affiliations-sort/record-affiliations-sort.service.ts +++ b/src/app/core/record-affiliations-sort/record-affiliations-sort.service.ts @@ -94,7 +94,7 @@ export class AffiliationsSortService { Number(AffiliationsSortService.isSelfAsserted(b, orcid)) ) }) - if (!ascending) { + if (ascending) { affiliationGroup.reverse() } }