Admin filters are the filters that populate the sidebars of reports and resource lists. As the name suggests, they allow users to filter the data they’re seeing through the report or resource list.

All admin filters ultimately extend Aero\Admin\Filters\AdminFilter and therefore all have these common methods that you can optionally override:

 

title Method

This is a public method that returns the title for the filter. This title is displayed on the frontend. By default the title is generated from the class name.

 

key Method

This is a public method that returns the key for the filter. The key is used for the request parameter for the filter. By default the key is generated from the class name.

You can read about the other methods in the "How do I create a custom Admin Filter?" article.

Articles in this section

Was this article helpful?
0 out of 0 found this helpful