From 0483987ce135bc2404eed4bdab6b3f42e4e14717 Mon Sep 17 00:00:00 2001 From: ivis-nakagawa Date: Fri, 31 Jan 2025 10:27:54 +0900 Subject: [PATCH] weko#45673 Add e-Rad_Researcher to the author prefix scheme --- modules/weko-authors/tests/test_views.py | 2 +- modules/weko-authors/weko_authors/config.py | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/weko-authors/tests/test_views.py b/modules/weko-authors/tests/test_views.py index 3514ee757f..9929ad290c 100644 --- a/modules/weko-authors/tests/test_views.py +++ b/modules/weko-authors/tests/test_views.py @@ -923,7 +923,7 @@ def test_get_list_schema(client, users): url = url_for("weko_authors.get_list_schema") login_user_via_session(client=client, email=users[0]['email']) test = { - "list":['e-Rad', 'NRID', 'ORCID', 'ISNI', 'VIAF', 'AID','kakenhi', 'Ringgold', 'GRID', 'ROR', 'Other'], + "list":['e-Rad', 'e-Rad_Researcher', 'NRID', 'ORCID', 'ISNI', 'VIAF', 'AID','kakenhi', 'Ringgold', 'GRID', 'ROR', 'Other'], "index":10 } res = client.get(url) diff --git a/modules/weko-authors/weko_authors/config.py b/modules/weko-authors/weko_authors/config.py index e61cda7746..a0fa77066b 100644 --- a/modules/weko-authors/weko_authors/config.py +++ b/modules/weko-authors/weko_authors/config.py @@ -22,8 +22,10 @@ from invenio_stats.config import SEARCH_INDEX_PREFIX as index_prefix -WEKO_AUTHORS_LIST_SCHEME = ['e-Rad', 'NRID', 'ORCID', 'ISNI', 'VIAF', 'AID', - 'kakenhi', 'Ringgold', 'GRID', 'ROR', 'Other'] +WEKO_AUTHORS_LIST_SCHEME = [ + 'e-Rad', 'e-Rad_Researcher', 'NRID', 'ORCID', 'ISNI', 'VIAF', 'AID', + 'kakenhi', 'Ringgold', 'GRID', 'ROR', 'Other' +] """ List of Author Name Identifier Scheme """ WEKO_AUTHORS_INDEX_ITEM_OTHER = 10