Skip to content

Commit

Permalink
new tenants for institution list
Browse files Browse the repository at this point in the history
  • Loading branch information
cziaarm committed Apr 30, 2024
1 parent 33375c8 commit 792af01
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/helpers/ubiquity/preselect_institution_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ def fetch_institution_by_tenant
'Royal Botanic Gardens, Kew' => ['kew', 'kew-demo'],
'Science Museum Group' => ['sciencemuseumgroup', 'sciencemuseumgroup-demo'],
'National Trust' => ['nt', 'nt-demo'],
'National Library of Scotland' => ['nls', 'nls-demo'],
'The Alan Turing Institute' => ['turing', 'turing-demo'],
'' => ['nhs', 'nhs-demo']
}
institution_hash.select { |_key, values| values.include?(tenant_name) }.keys.first
Expand Down
6 changes: 6 additions & 0 deletions config/authorities/institution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,9 @@ terms:
- id: Science Museum Group
term: Science Museum Group
active: true
- id: National Library of Scotland
term: National Library of Scotland
active: true
- id: The Alan Turing Institute
term: The Alan Turing Institute
active: true

0 comments on commit 792af01

Please sign in to comment.