From f4301133470961cf9c2f506c28d78557841122f5 Mon Sep 17 00:00:00 2001 From: Daniel Palafox Date: Wed, 11 Oct 2023 16:09:08 -0500 Subject: [PATCH] fix: Sort by source is inverse (#2076) --- .../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() } }