From a8b1a46f3bce747ca807126f853b576a5fb2ad78 Mon Sep 17 00:00:00 2001 From: Anika Churilova Date: Thu, 5 Dec 2024 11:43:23 +0100 Subject: [PATCH] config: make DOI optional * closes https://github.com/CERNDocumentServer/cds-rdm/issues/163 --- assets/less/cds-rdm/globals/site.overrides | 2 +- invenio.cfg | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/assets/less/cds-rdm/globals/site.overrides b/assets/less/cds-rdm/globals/site.overrides index b7c3a42..57b077e 100644 --- a/assets/less/cds-rdm/globals/site.overrides +++ b/assets/less/cds-rdm/globals/site.overrides @@ -89,4 +89,4 @@ &:focus{ opacity:1; } -} +} \ No newline at end of file diff --git a/invenio.cfg b/invenio.cfg index 884c6a2..4dbec1b 100644 --- a/invenio.cfg +++ b/invenio.cfg @@ -500,8 +500,7 @@ RDM_RECORDS_PERSONORG_SCHEMES = {**RDM_RECORDS_PERSONORG_SCHEMES, ### Do not require DOIs for record and parent RDM_PERSISTENT_IDENTIFIERS["doi"]["required"] = False RDM_PARENT_PERSISTENT_IDENTIFIERS["doi"]["required"] = False - - +RDM_PERSISTENT_IDENTIFIERS["doi"]["ui"]["default_selected"] = "not_needed" # "yes", "no" or "not_needed" # Invenio-Preservation-Sync # =========================