From 439732d32887979edbf8626bf8b3420a5c62da52 Mon Sep 17 00:00:00 2001 From: Rory McNicholl Date: Wed, 30 Oct 2024 08:47:05 +0000 Subject: [PATCH] add HRP and reactivate tate in inst menu --- app/helpers/ubiquity/preselect_institution_helper.rb | 9 +++++---- config/authorities/institution.yml | 5 ++++- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/app/helpers/ubiquity/preselect_institution_helper.rb b/app/helpers/ubiquity/preselect_institution_helper.rb index 79c085b3..4a093f34 100644 --- a/app/helpers/ubiquity/preselect_institution_helper.rb +++ b/app/helpers/ubiquity/preselect_institution_helper.rb @@ -7,14 +7,15 @@ def fetch_institution_by_tenant tenant_name = ubiquity_url_parser request.original_url institution_hash = { 'British Library' => ['sandbox', 'sandbox2', 'bl', 'bl-demo'], + 'British Museum' => ['britishmuseum', 'britishmuseum-demo'], + 'Historic Royal Palaces' => ['hrp', 'hrp-demo'], 'MOLA' => ['sandbox2', 'mola', 'mola-demo'], + 'National Library of Scotland' => ['nls', 'nls-demo'], 'National Museums Scotland' => ['nms', 'nms-demo'], - 'British Museum' => ['britishmuseum', 'britishmuseum-demo'], - 'Tate' => ['tate', 'tate-demo'], + 'National Trust' => ['nt', 'nt-demo'], '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'], + 'Tate' => ['tate', 'tate-demo'], 'The Alan Turing Institute' => ['ati', 'ati-demo'], '' => ['nhs', 'nhs-demo'] } diff --git a/config/authorities/institution.yml b/config/authorities/institution.yml index fe53b871..1a81866d 100644 --- a/config/authorities/institution.yml +++ b/config/authorities/institution.yml @@ -5,6 +5,9 @@ terms: - id: British Museum term: British Museum active: true + - id: Historic Royal Palaces + term: Historic Royal Palaces + active: true - id: MOLA term: MOLA active: true @@ -24,7 +27,7 @@ terms: active: true - id: Tate term: Tate - active: false + active: true - id: Barts Health NHS Trust term: Barts Health NHS Trust active: false