From 47e7b5566fb74a7744d5efc478f0147548509a8b Mon Sep 17 00:00:00 2001 From: laurenwalker Date: Mon, 27 Jun 2022 15:48:30 -0400 Subject: [PATCH] Change default bagit format to application/bagit-1.0 --- src/js/models/AppModel.js | 6 +++--- src/js/themes/arctic/config.js | 3 --- src/js/themes/knb/config.js | 3 --- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/src/js/models/AppModel.js b/src/js/models/AppModel.js index 3ac89f6d7..686e4e6fe 100644 --- a/src/js/models/AppModel.js +++ b/src/js/models/AppModel.js @@ -1916,10 +1916,10 @@ define(['jquery', 'underscore', 'backbone'], * not contain any additional characters after, for example a backslash. * For hierarchical dowloads, use application%2Fbagit-1.0 * @type {string} - * @default "application%2Fbagit-097" - * @example application%2Fbagit-1.0 + * @default "application%2Fbagit-1.0" + * @example application%2Fbagit-097 */ - packageFormat: 'application%2Fbagit-097' + packageFormat: 'application%2Fbagit-1.0' }, MetacatUI.AppConfig), defaultView: "data", diff --git a/src/js/themes/arctic/config.js b/src/js/themes/arctic/config.js index 5e7fcae16..dc28e9229 100644 --- a/src/js/themes/arctic/config.js +++ b/src/js/themes/arctic/config.js @@ -87,9 +87,6 @@ MetacatUI.AppConfig = Object.assign({ //MetadataView datasetMapFillColor: "", - // Set the bagit format - //packageFormat: "application%2Fbagit-1.0", - //Google Analytics googleAnalyticsKey: "UA-75482301-1" diff --git a/src/js/themes/knb/config.js b/src/js/themes/knb/config.js index 4506a0c6d..054ff2421 100644 --- a/src/js/themes/knb/config.js +++ b/src/js/themes/knb/config.js @@ -74,9 +74,6 @@ MetacatUI.AppConfig = Object.assign({ hideSummaryMetadataAssessment: false, limitPortalsToSubjects: ["CN=knb-data-admins,DC=dataone,DC=org"], portalEditNotAuthCreateMessage: "Creating new portals is a feature currently only available to a select group of Beta testers. You should still be able to access your existing portals. Please contact us with any questions at the email address below." - - // Set the bagit format - //packageFormat: "application%2Fbagit-1.0", }, MetacatUI.AppConfig);