Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

weko#45673 Add e-Rad_Researcher to the author prefix scheme #1590

Open
wants to merge 1 commit into
base: develop_v1.0.10
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules/weko-authors/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 4 additions & 2 deletions modules/weko-authors/weko_authors/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading