Skip to content

Commit

Permalink
Merge branch 'staging'
Browse files Browse the repository at this point in the history
  • Loading branch information
annelhote committed Mar 28, 2024
2 parents 3ea81ea + f05904e commit ce8854e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/locals.json
Original file line number Diff line number Diff line change
Expand Up @@ -1482,7 +1482,7 @@
"commentsNameEN": "of A2F",
"startYear": 2016
},
"00rbzpz17": {
"ANR": {
"name": "Agence Nationale de la Recherche (ANR)",
"commentsName": "issues des projets financés par l'ANR",
"commentsNameEN": "resulting from ANR-funded projects",
Expand Down
1 change: 1 addition & 0 deletions src/utils/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ function getLocalAffiliation(urlSearchParams) {
const matched = Object.keys(locals).filter((key) => [
locals[key]?.paysage?.toLowerCase(),
locals[key]?.ror?.toLowerCase(),
locals[key]?.ror?.replace('https://ror.org/', '').toLowerCase(),
].includes(bsoLocalAffiliation));
if (bsoLocalAffiliation && matched.length > 0) {
[bsoLocalAffiliation] = matched;
Expand Down

0 comments on commit ce8854e

Please sign in to comment.