PHPackages                             masugadesign/cpfilters - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Admin Panels](/categories/admin)
4. /
5. masugadesign/cpfilters

ActiveCraft-plugin[Admin Panels](/categories/admin)

masugadesign/cpfilters
======================

Advanced filtering for elements in the control panel.

2.1.0(3y ago)1618.4k3[1 PRs](https://github.com/masugadesign/cp-filters-craft-cms/pulls)PHP

Since Jul 15Pushed 1y ago2 watchersCompare

[ Source](https://github.com/masugadesign/cp-filters-craft-cms)[ Packagist](https://packagist.org/packages/masugadesign/cpfilters)[ RSS](/packages/masugadesign-cpfilters/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (1)Versions (42)Used By (0)

CP Filters for Craft CMS
========================

[](#cp-filters-for-craft-cms)

Warning

This is a discontinued commercial plugin and should not be installed without a previously purchased license. For more information, see:

### Advanced filtering for Entry elements in the control panel.

[](#advanced-filtering-for-entry-elements-in-the-control-panel)

### Table of Contents

[](#table-of-contents)

### Requirements

[](#requirements)

- Craft CMS v4.0.0+
- PHP 8.0.2+

### Installation

[](#installation)

Add the following to your composer.json requirements. Be sure to adjust the version number to match the version you wish to install.

```
"masugadesign/cpfilters": "2.1.1",

```

### Config

[](#config)

The following settings may be configured in a **cpfilters.php** config file.

#### filterableEntryTypeIds

[](#filterableentrytypeids)

This is an array of entry **type** IDs, not to be confused with the **section** IDs.

```
'filterableEntryTypeIds' => [1,5,10],

```

#### filterableAssetVolumeIds

[](#filterableassetvolumeids)

Specify an array of Asset volume IDs to restrict which volumes are filterable.

```
'filterableAssetVolumeIds' => [2,3,8],

```

#### filterableCategoryGroupIds

[](#filterablecategorygroupids)

Specify an array of Category group IDs to restrict which groups are filterable.

```
'filterableCategoryGroupIds' => [1,2,4,5,6,10],

```

#### filterableTagGroupIds

[](#filterabletaggroupids)

Specify an array of Tag group IDs to restrict which groups are filterable.

```
'filterableTagGroupIds' => [1,2],

```

#### additionalFieldTypes

[](#additionalfieldtypes)

Register custom field types as filterable by supplying the fully qualified class name and an array of filter options. The following filter options are available. Be careful to choose appropriate filter options because not all field types can support all the filters.

Filter options: `contains`, `starts with`, `ends with`, `is equal to`, `is assigned`, `is greater than`, `is less than`, `is empty`, `is not empty`

```
