Skip to content

fix plone.restapi to not pass the metadata_fields into the query #2031

Description

@jensens

plone.restapi's @search passes the entire request dict to the catalog (handler.py#L102), including control parameters such as metadata_fields (e.g. every request from Volto's ObjectBrowserWidget). These are not catalog indexes.

see also bluedynamics/plone-pgcatalog#179

cc @davisagli

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions