From 21a38dd2e4022c06d2a04c6f306c3d87084ff2c4 Mon Sep 17 00:00:00 2001 From: Amin Zare <119476867+AminEdZare@users.noreply.github.com> Date: Wed, 28 Aug 2024 12:50:12 -0400 Subject: [PATCH] [#436] changes resource type dropdown to remove Archive option and default to single study Co-authored-by: Winsice Ng Co-authored-by: Jane Sandberg Co-authored-by: Christina Chortaria --- app/helpers/application_helper.rb | 5 ++--- db/schema.rb | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 3ae1abe2..16a9dc3f 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -57,11 +57,10 @@ def study_link(label, url) end def format_types - ['Archive or collection of studies', + ['Single study', 'Data archive or collection', 'Macrodata source', 'Series - completed', - 'Series - ongoing', - 'Single study'] + 'Series - ongoing'] end end diff --git a/db/schema.rb b/db/schema.rb index 07bb56ca..bb6166db 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema[7.0].define(version: 2022_04_15_210121) do +ActiveRecord::Schema[7.1].define(version: 2022_04_15_210121) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql"