Skip to content

Commit

Permalink
requests: add missing facets and reorder
Browse files Browse the repository at this point in the history
  • Loading branch information
carlinmack committed Nov 14, 2024
1 parent 5cba3e0 commit cef467d
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 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,20 @@
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"),
# Zenodo TODO define types in a way which is extensible by sites/modules
"community-manage-record": _("Community manage record"),
"legacy-record-upgrade": _("Upgrade legacy record"),
},
)

Expand Down

0 comments on commit cef467d

Please sign in to comment.