Skip to content

Commit

Permalink
Merge pull request #1189 from ORCID/fix-affiliation-sorting
Browse files Browse the repository at this point in the history
sort affiliations by email
  • Loading branch information
bobcaprice authored May 17, 2024
2 parents 3798abd + f886745 commit f8520a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/app/affiliation/affiliations.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export class AffiliationsComponent implements OnInit, OnDestroy {
this.routeData = this.activatedRoute.data.subscribe((data) => {
this.page = data['queryParams'] ? data['queryParams'].page : 1
this.ascending = data['queryParams'] ? data['queryParams'].page.sort.split(',')[1] : true
this.sortColumn = data['queryParams'] ? data['queryParams'].page.sort.split(',')[0] : 'id'
this.sortColumn = data['queryParams'] ? data['queryParams'].page.sort.split(',')[0] : 'email'
this.loadAll()
})
}
Expand Down

0 comments on commit f8520a3

Please sign in to comment.