October CMS resources and help articles

Simple and to the point. Optimized by the community.

Add a checkbox filter to a backend list

1
by OFFLINE, last modified on August 11th, 2019

In your plugin directory create the following file:

controllers/yourcontroller/config_filter.yaml

Paste your filter configuration in it:

scopes:
    published:
        label: Hide published
        type: checkbox
        default: 1
        conditions: is_published <> true

Enable the filter by adding the following line to your config_list.yaml.

filter: config_filter.yaml

Discussion

0 comments

We use cookies to measure the performance of this website. Do you want to accept these cookies?