From a12e3bb5bc3674cc715582a38586aa98a1871b5d Mon Sep 17 00:00:00 2001 From: Zacharias Zacharodimos Date: Wed, 4 Oct 2023 13:51:04 +0200 Subject: [PATCH] versions: add status param interpreter --- invenio_rdm_records/services/config.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/invenio_rdm_records/services/config.py b/invenio_rdm_records/services/config.py index 4ccfb96bc..7ae2ed2ac 100644 --- a/invenio_rdm_records/services/config.py +++ b/invenio_rdm_records/services/config.py @@ -167,6 +167,10 @@ class RDMSearchDraftsOptions(SearchDraftsOptions, SearchOptionsMixin): class RDMSearchVersionsOptions(SearchVersionsOptions, SearchOptionsMixin): """Search options for record versioning search.""" + params_interpreters_cls = [ + StatusParam + ] + SearchVersionsOptions.params_interpreters_cls + class RDMRecordCommunitiesConfig(ServiceConfig, ConfiguratorMixin): """Record communities service config."""