Filters and sorting

Show only the items you want with field filters and order them by any text or date field, name, date created, order or random.

Every collection source has a filter list (field, operator, value) and a sort option. All filters must match. Values can be fixed or variables, for example the slug from the URL or the current item.

How it works

  • Operators: Equals, Not Equals, Less Than, Less Equal Than, Greater Than, Greater Equal Than, Contains, Not Contains, Starts With, Ends With, True, False, Empty, Not Empty, In, Not In, Includes, Not Includes, Contains All.
  • In, Not In, Includes, Contains All accept arrays (relations).
  • Sort: each Text and Date field asc/desc, Name asc/desc, Created asc/desc, Order asc/desc, Random.
  • The admin items table has its own filter builder with the same operators, a search box and A-Z/Z-A sorting.

When to use it

  • Only featured posts
  • Posts of the current category on a category page
  • Newest first

Limitations

  • Filters are combined with AND only; no OR groups
  • Only Text and Date fields are sortable

Availability

  • Works in Designer and MCP.
  • Included in the Business and Professional plans.
  • Limits: CMS items: up to 5,000 on Business and 50,000 on Professional. Starter has no CMS.

Related features.

No card needed

Build it today.Pay when it goes live.

Every feature is unmetered while you build. Checkout opens the first time you publish.