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

requests: add missing facets and reorder #412

Merged
merged 1 commit into from
Nov 18, 2024
Merged
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
19 changes: 14 additions & 5 deletions invenio_requests/services/requests/facets.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
# Copyright (C) 2023 CERN.
# Copyright (C) 2023-2024 CERN.
# Copyright (C) 2023 Graz University of Technology.
#
# Invenio-RDM-Records is free software; you can redistribute it and/or modify
Expand All @@ -15,13 +15,22 @@
field="type",
label=_("Type"),
value_labels={
"community-submission": _("Draft review"),
"community-inclusion": _("Community inclusion"),
"community-invitation": _("Member invitation"),
# Access
"guest-access-request": _("Guest access"),
"user-access-request": _("User access"),
"community-manage-record": _("Community manage record"),
# Community record and draft submission
"community-inclusion": _("Community inclusion"),
"community-submission": _("Draft review"),
# Membership
"community-membership-request": _("Membership request"),
"community-invitation": _("Member invitation"),
# Subcommunity
"subcommunity": _("Subcommunity"),
# Moderation
"user-moderation": _("User moderation"),
# Instance-specific labels which ideally should not be listed here
"community-manage-record": _("Community manage record"),
"legacy-record-upgrade": _("Upgrade legacy record"),
},
)

Expand Down
Loading