Skip to content

Commit

Permalink
versions: add status param interpreter
Browse files Browse the repository at this point in the history
  • Loading branch information
zzacharo committed Oct 4, 2023
1 parent fed319f commit a12e3bb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions invenio_rdm_records/services/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""
Expand Down

0 comments on commit a12e3bb

Please sign in to comment.