We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9879fca commit 6482ad2Copy full SHA for 6482ad2
1 file changed
scripts/people.js
@@ -141,7 +141,7 @@ function updatePeopleInputs() {
141
return {
142
results: data['expanded-result']
143
//Sort to bring recently used ORCIDS to the top of the list
144
- .sort((a, b) => (localStorage.getItem(b['orcid-id'])) ? 1 : -1)
+ .sort((a, b) => (localStorage.getItem(b['orcid-id'])) ? 1 : 0)
145
.map(
146
function(x) {
147
0 commit comments