From 797e5fe6d6a6279f4d636a456878c74b8b975b1a Mon Sep 17 00:00:00 2001 From: Rory McNicholl Date: Wed, 1 May 2024 12:02:38 +0100 Subject: [PATCH] new tenants for institution list (#539) --- app/helpers/ubiquity/preselect_institution_helper.rb | 2 ++ config/authorities/institution.yml | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/app/helpers/ubiquity/preselect_institution_helper.rb b/app/helpers/ubiquity/preselect_institution_helper.rb index 3e7edf0e..e2ee84c4 100644 --- a/app/helpers/ubiquity/preselect_institution_helper.rb +++ b/app/helpers/ubiquity/preselect_institution_helper.rb @@ -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 diff --git a/config/authorities/institution.yml b/config/authorities/institution.yml index 8c089cfa..fe53b871 100644 --- a/config/authorities/institution.yml +++ b/config/authorities/institution.yml @@ -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