Add a checkbox filter to a backend list
1
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
There are no comments yet
Be the first one to comment