Skip to content

Commit

Permalink
config: set community records search options identical to records search
Browse files Browse the repository at this point in the history
  • Loading branch information
zzacharo committed Dec 20, 2024
1 parent cb966fa commit fbf9e10
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions invenio.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ https://inveniordm.docs.cern.ch/reference/configuration/.

import os

from copy import deepcopy
from datetime import datetime, timedelta
from invenio_i18n import lazy_gettext as _

Expand All @@ -31,6 +32,7 @@ from invenio_rdm_records.proxies import current_rdm_records_service as record_se
from invenio_rdm_records.config import (
RDM_PERSISTENT_IDENTIFIERS,
RDM_PARENT_PERSISTENT_IDENTIFIERS,
RDM_SEARCH
)
from invenio_preservation_sync.utils import preservation_info_render
from invenio_cern_sync.users.profile import CERNUserProfileSchema
Expand Down Expand Up @@ -156,6 +158,8 @@ INSTANCE_THEME_FILE = './less/theme.less'
COMMUNITIES_PERMISSION_POLICY = CDSCommunitiesPermissionPolicy
COMMUNITIES_ADMINISTRATION_DISABLED = False
COMMUNITIES_ALLOW_RESTRICTED = True
COMMUNITIES_RECORDS_SEARCH = deepcopy(RDM_SEARCH)


# Invenio-Records-Resources
# =========================
Expand Down

0 comments on commit fbf9e10

Please sign in to comment.