Skip to content

Listing pages filter by fields using query params #1719

@I-Valchev

Description

@I-Valchev

Example contenttype:

pages:
  singular_name: page
  name: pages
  fields:
    title:
      type: text
    category:
       type: select
       values: [ one, two, three ] 

Then:
The /pages/?q=category=two will return the listing records only containing the category two.

Essentially, automating setcontent used with query params to filter on field values.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions