YetiForceCompany/YetiForceCRM

View on GitHub
modules/Settings/SharingAccess/models/Module.php

Summary

Maintainability
A
0 mins
Test Coverage
F
43%

Missing class import via use statement (line '172', column '19').
Open

        $userIds = (new App\Db\Query())->select(['id'])

MissingImport

Since: 2.7.0

Importing all external classes in a file through use statements makes them clearly visible.

Example

function make() {
    return new \stdClass();
}

Source http://phpmd.org/rules/cleancode.html#MissingImport

Missing class import via use statement (line '103', column '17').
Open

        $query = (new App\Db\Query())->from('vtiger_def_org_share')

MissingImport

Since: 2.7.0

Importing all external classes in a file through use statements makes them clearly visible.

Example

function make() {
    return new \stdClass();
}

Source http://phpmd.org/rules/cleancode.html#MissingImport

The method getAll has a boolean flag argument $isEntityType, which is a certain sign of a Single Responsibility Principle violation.
Open

    public static function getAll($editable = false, $restrictedModulesList = [], $isEntityType = false)

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

Missing class import via use statement (line '132', column '17').
Open

        $query = (new \App\Db\Query())->from('vtiger_def_org_share')

MissingImport

Since: 2.7.0

Importing all external classes in a file through use statements makes them clearly visible.

Example

function make() {
    return new \stdClass();
}

Source http://phpmd.org/rules/cleancode.html#MissingImport

The method getAll has a boolean flag argument $editable, which is a certain sign of a Single Responsibility Principle violation.
Open

    public static function getAll($editable = false, $restrictedModulesList = [], $isEntityType = false)

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

Avoid using static access to class 'App\Config' in method 'recalculateSharingRules'.
Open

        $phpMaxExecutionTime = App\Config::main('php_max_execution_time');

StaticAccess

Since: 1.4.0

Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

Example

class Foo
{
    public function bar()
    {
        Bar::baz();
    }
}

Source https://phpmd.org/rules/cleancode.html#staticaccess

Avoid using static access to class 'Settings_SharingAccess_Rule_Model' in method 'getSharingRules'.
Open

        return Settings_SharingAccess_Rule_Model::getAllByModule($this);

StaticAccess

Since: 1.4.0

Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

Example

class Foo
{
    public function bar()
    {
        Bar::baz();
    }
}

Source https://phpmd.org/rules/cleancode.html#staticaccess

Avoid using static access to class 'vtlib\Utils' in method 'getInstance'.
Open

        if (vtlib\Utils::isNumber($value)) {

StaticAccess

Since: 1.4.0

Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

Example

class Foo
{
    public function bar()
    {
        Bar::baz();
    }
}

Source https://phpmd.org/rules/cleancode.html#staticaccess

Avoid using static access to class '\App\UserPrivilegesFile' in method 'recalculateSharingRules'.
Open

            \App\UserPrivilegesFile::createUserSharingPrivilegesfile($id);

StaticAccess

Since: 1.4.0

Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

Example

class Foo
{
    public function bar()
    {
        Bar::baz();
    }
}

Source https://phpmd.org/rules/cleancode.html#staticaccess

The method getInstance uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
Open

        } else {
            $query->where(['name' => $value]);
        }

ElseExpression

Since: 1.4.0

An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.

Example

class Foo
{
    public function bar($flag)
    {
        if ($flag) {
            // one branch
        } else {
            // another branch
        }
    }
}

Source https://phpmd.org/rules/cleancode.html#elseexpression

Avoid using static access to class 'Settings_SharingAccess_Rule_Model' in method 'getRules'.
Open

        return Settings_SharingAccess_Rule_Model::getAllByModule($this);

StaticAccess

Since: 1.4.0

Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

Example

class Foo
{
    public function bar()
    {
        Bar::baz();
    }
}

Source https://phpmd.org/rules/cleancode.html#staticaccess

Define a constant instead of duplicating this literal "vtiger_def_org_share" 3 times.
Open

            ->update('vtiger_def_org_share', ['permission' => $this->get('permission')], ['tabid' => $this->getId()])

Duplicated string literals make the process of refactoring error-prone, since you must be sure to update all occurrences.

On the other hand, constants can be referenced from many places, but only need to be updated in a single place.

Noncompliant Code Example

With the default threshold of 3:

function run() {
  prepare('action1');                              // Non-Compliant - 'action1' is duplicated 3 times
  execute('action1');
  release('action1');
}

Compliant Solution

ACTION_1 = 'action1';

function run() {
  prepare(ACTION_1);
  execute(ACTION_1);
  release(ACTION_1);
}

Exceptions

To prevent generating some false-positives, literals having less than 5 characters are excluded.

Define a constant instead of duplicating this literal "permission" 8 times.
Open

        return $this->get('permission');

Duplicated string literals make the process of refactoring error-prone, since you must be sure to update all occurrences.

On the other hand, constants can be referenced from many places, but only need to be updated in a single place.

Noncompliant Code Example

With the default threshold of 3:

function run() {
  prepare('action1');                              // Non-Compliant - 'action1' is duplicated 3 times
  execute('action1');
  release('action1');
}

Compliant Solution

ACTION_1 = 'action1';

function run() {
  prepare(ACTION_1);
  execute(ACTION_1);
  release(ACTION_1);
}

Exceptions

To prevent generating some false-positives, literals having less than 5 characters are excluded.

Define a constant instead of duplicating this literal "editstatus" 7 times.
Open

        return self::EDITABLE == $this->get('editstatus');

Duplicated string literals make the process of refactoring error-prone, since you must be sure to update all occurrences.

On the other hand, constants can be referenced from many places, but only need to be updated in a single place.

Noncompliant Code Example

With the default threshold of 3:

function run() {
  prepare('action1');                              // Non-Compliant - 'action1' is duplicated 3 times
  execute('action1');
  release('action1');
}

Compliant Solution

ACTION_1 = 'action1';

function run() {
  prepare(ACTION_1);
  execute(ACTION_1);
  release(ACTION_1);
}

Exceptions

To prevent generating some false-positives, literals having less than 5 characters are excluded.

Avoid unused parameters such as '$restrictedModulesList'.
Open

    public static function getAll($editable = false, $restrictedModulesList = [], $isEntityType = false)

UnusedFormalParameter

Since: 0.2

Avoid passing parameters to methods or constructors and then not using those parameters.

Example

class Foo
{
    private function bar($howdy)
    {
        // $howdy is not used
    }
}

Source https://phpmd.org/rules/unusedcode.html#unusedformalparameter

Avoid unused parameters such as '$isEntityType'.
Open

    public static function getAll($editable = false, $restrictedModulesList = [], $isEntityType = false)

UnusedFormalParameter

Since: 0.2

Avoid passing parameters to methods or constructors and then not using those parameters.

Example

class Foo
{
    private function bar($howdy)
    {
        // $howdy is not used
    }
}

Source https://phpmd.org/rules/unusedcode.html#unusedformalparameter

Call to undeclared method \App\Db\Query::from
Open

        $query = (new \App\Db\Query())->from('vtiger_def_org_share')

Call to undeclared method \App\Db::createCommand
Open

        App\Db::getInstance()->createCommand()

Saw possibly unextractable annotation for a fragment of comment '* @param mixed id or name of the module': after mixed, did not see an element name (will guess based on comment order)
Open

     * @param mixed id or name of the module

Call to undeclared method \App\Db\Query::from
Open

        $query = (new App\Db\Query())->from('vtiger_def_org_share')

Saw unextractable annotation for comment '* @return <array> - List of Vtiger Module Model or sub class instances'</array>
Open

     * @return <Array> - List of Vtiger Module Model or sub class instances

Call to undeclared method \App\Db\Query::select
Open

        $userIds = (new App\Db\Query())->select(['id'])

Saw unextractable annotation for comment '* @return <array> - List of Vtiger Module Model or sub class instances'</array>
Open

     * @return <Array> - List of Vtiger Module Model or sub class instances

Avoid excessively long variable names like $restrictedModulesList. Keep variable name length under 20.
Open

    public static function getAll($editable = false, $restrictedModulesList = [], $isEntityType = false)

LongVariable

Since: 0.2

Detects when a field, formal or local variable is declared with a long name.

Example

class Something {
    protected $reallyLongIntName = -3; // VIOLATION - Field
    public static function main( array $interestingArgumentsList[] ) { // VIOLATION - Formal
        $otherReallyLongName = -5; // VIOLATION - Local
        for ($interestingIntIndex = 0; // VIOLATION - For
             $interestingIntIndex < 10;
             $interestingIntIndex++ ) {
        }
    }
}

Source https://phpmd.org/rules/naming.html#longvariable

Each class must be in a namespace of at least one level (a top-level vendor name)
Open

class Settings_SharingAccess_Module_Model extends Vtiger_Module_Model

The class Settings_SharingAccess_Module_Model is not named in CamelCase.
Open

class Settings_SharingAccess_Module_Model extends Vtiger_Module_Model
{
    /**
     * Constants for mapping module's Sharing Access permissions editable.
     */

CamelCaseClassName

Since: 0.2

It is considered best practice to use the CamelCase notation to name classes.

Example

class class_name {
}

Source

Spaces must be used to indent lines; tabs are not allowed
Open

     * @return bool

Spaces must be used to indent lines; tabs are not allowed
Open

     */

Spaces must be used to indent lines; tabs are not allowed
Open

    {

Spaces must be used to indent lines; tabs are not allowed
Open

     *

Spaces must be used to indent lines; tabs are not allowed
Open

    {

Spaces must be used to indent lines; tabs are not allowed
Open

    const HIDDEN = 2;

Spaces must be used to indent lines; tabs are not allowed
Open

     */

Spaces must be used to indent lines; tabs are not allowed
Open

        return self::EDITABLE == $this->get('editstatus');

Spaces must be used to indent lines; tabs are not allowed
Open

    const SHARING_ACCESS_PRIVATE = 3;

Spaces must be used to indent lines; tabs are not allowed
Open

    public function getPermissionValue()

Spaces must be used to indent lines; tabs are not allowed
Open

     * Function checks if the sharing access for the module is enabled or not.

Spaces must be used to indent lines; tabs are not allowed
Open

    }

Spaces must be used to indent lines; tabs are not allowed
Open

    const EDITABLE = 0;

Spaces must be used to indent lines; tabs are not allowed
Open

    const READONLY = 1;

Spaces must be used to indent lines; tabs are not allowed
Open

    /**

Spaces must be used to indent lines; tabs are not allowed
Open

     */

Spaces must be used to indent lines; tabs are not allowed
Open

    /**

Spaces must be used to indent lines; tabs are not allowed
Open

    /**

Spaces must be used to indent lines; tabs are not allowed
Open

     * Constants for mapping module's Sharing Access permissions editable.

Spaces must be used to indent lines; tabs are not allowed
Open

    const SHARING_ACCESS_READ_ONLY = 0;

Spaces must be used to indent lines; tabs are not allowed
Open

    const SHARING_ACCESS_PUBLIC = 2;

Spaces must be used to indent lines; tabs are not allowed
Open

        return $this->get('permission');

Spaces must be used to indent lines; tabs are not allowed
Open

    public function isSharingEditable()

Spaces must be used to indent lines; tabs are not allowed
Open

     *

Spaces must be used to indent lines; tabs are not allowed
Open

            ->innerJoin('vtiger_tab', 'vtiger_tab.tabid = vtiger_def_org_share.tabid');

Spaces must be used to indent lines; tabs are not allowed
Open

    {

Spaces must be used to indent lines; tabs are not allowed
Open

        $moduleModels = [];

Spaces must be used to indent lines; tabs are not allowed
Open

        while ($row = $dataReader->read()) {

Spaces must be used to indent lines; tabs are not allowed
Open

            ->where(['deleted' => 0])

Spaces must be used to indent lines; tabs are not allowed
Open

        foreach ($userIds as $id) {

Spaces must be used to indent lines; tabs are not allowed
Open

            \App\UserPrivilegesFile::createUserSharingPrivilegesfile($id);

Spaces must be used to indent lines; tabs are not allowed
Open

     */

Spaces must be used to indent lines; tabs are not allowed
Open

    public function isPublic()

Spaces must be used to indent lines; tabs are not allowed
Open

        return Settings_SharingAccess_Rule_Model::getAllByModule($this);

Spaces must be used to indent lines; tabs are not allowed
Open

     */

Spaces must be used to indent lines; tabs are not allowed
Open

            ->execute();

Spaces must be used to indent lines; tabs are not allowed
Open

     * @param mixed $value

Spaces must be used to indent lines; tabs are not allowed
Open

    /**

Spaces must be used to indent lines; tabs are not allowed
Open

            ->from('vtiger_users')

Spaces must be used to indent lines; tabs are not allowed
Open

    const SHARING_ACCESS_READ_CREATE = 1;

Spaces must be used to indent lines; tabs are not allowed
Open

    /**

Spaces must be used to indent lines; tabs are not allowed
Open

     * Function checks if the module is Public.

Spaces must be used to indent lines; tabs are not allowed
Open

    public function getRules()

Spaces must be used to indent lines; tabs are not allowed
Open

    {

Spaces must be used to indent lines; tabs are not allowed
Open

        if (vtlib\Utils::isNumber($value)) {

Spaces must be used to indent lines; tabs are not allowed
Open

        } else {

Spaces must be used to indent lines; tabs are not allowed
Open

        $query = (new \App\Db\Query())->from('vtiger_def_org_share')

Spaces must be used to indent lines; tabs are not allowed
Open

     */

Spaces must be used to indent lines; tabs are not allowed
Open

    public static function getInstance($value)

Spaces must be used to indent lines; tabs are not allowed
Open

    public static function getAll($editable = false, $restrictedModulesList = [], $isEntityType = false)

Spaces must be used to indent lines; tabs are not allowed
Open

        $dataReader = $query->createCommand()->query();

Spaces must be used to indent lines; tabs are not allowed
Open

            $instance->initialize($row);

Spaces must be used to indent lines; tabs are not allowed
Open

            $moduleModels[$row['tabid']] = $instance;

Spaces must be used to indent lines; tabs are not allowed
Open

     */

Spaces must be used to indent lines; tabs are not allowed
Open

    }

Spaces must be used to indent lines; tabs are not allowed
Open

    {

Spaces must be used to indent lines; tabs are not allowed
Open

        $row = $query->one();

Spaces must be used to indent lines; tabs are not allowed
Open

            $instance = new self();

Spaces must be used to indent lines; tabs are not allowed
Open

    }

Spaces must be used to indent lines; tabs are not allowed
Open

     *

Spaces must be used to indent lines; tabs are not allowed
Open

        $dataReader->close();

Spaces must be used to indent lines; tabs are not allowed
Open

    /**

Spaces must be used to indent lines; tabs are not allowed
Open

    /**

Spaces must be used to indent lines; tabs are not allowed
Open

        return '?module=SharingAccess&parent=Settings&view=IndexAjax&mode=showRules&for_module=' . $this->getId();

Spaces must be used to indent lines; tabs are not allowed
Open

    }

Spaces must be used to indent lines; tabs are not allowed
Open

    /**

Spaces must be used to indent lines; tabs are not allowed
Open

     * Save permission.

Spaces must be used to indent lines; tabs are not allowed
Open

    public function save()

Spaces must be used to indent lines; tabs are not allowed
Open

        }

Spaces must be used to indent lines; tabs are not allowed
Open

        $query->orderBy(['vtiger_def_org_share.tabid' => SORT_ASC]);

Spaces must be used to indent lines; tabs are not allowed
Open

            $instance->set('permission', $row['permission']);

Spaces must be used to indent lines; tabs are not allowed
Open

        }

Spaces must be used to indent lines; tabs are not allowed
Open

     * @return <Array> - List of Vtiger Module Model or sub class instances

Spaces must be used to indent lines; tabs are not allowed
Open

     * Constants used for mapping module's Sharing Access Permission.

Spaces must be used to indent lines; tabs are not allowed
Open

    }

Spaces must be used to indent lines; tabs are not allowed
Open

        return self::SHARING_ACCESS_PRIVATE == (int) $this->get('permission');

Spaces must be used to indent lines; tabs are not allowed
Open

     *

Spaces must be used to indent lines; tabs are not allowed
Open

    {

Spaces must be used to indent lines; tabs are not allowed
Open

    }

Spaces must be used to indent lines; tabs are not allowed
Open

    {

Spaces must be used to indent lines; tabs are not allowed
Open

     * Static Function to get the instance of Vtiger Module Model for the given id or name.

Spaces must be used to indent lines; tabs are not allowed
Open

     */

Spaces must be used to indent lines; tabs are not allowed
Open

            $instance->set('permission', $row['permission']);

Spaces must be used to indent lines; tabs are not allowed
Open

            $query->andWhere(['editstatus' => self::EDITABLE]);

Spaces must be used to indent lines; tabs are not allowed
Open

     * Function recalculate the sharing rules.

Spaces must be used to indent lines; tabs are not allowed
Open

    public static function recalculateSharingRules()

Spaces must be used to indent lines; tabs are not allowed
Open

    }

Spaces must be used to indent lines; tabs are not allowed
Open

     * @return bool

Spaces must be used to indent lines; tabs are not allowed
Open

    }

Spaces must be used to indent lines; tabs are not allowed
Open

        }

Spaces must be used to indent lines; tabs are not allowed
Open

        return $moduleModels;

Spaces must be used to indent lines; tabs are not allowed
Open

        return $dependentModulesList;

Spaces must be used to indent lines; tabs are not allowed
Open

     * Function checks if the module is Private.

Spaces must be used to indent lines; tabs are not allowed
Open

    public function isPrivate()

Spaces must be used to indent lines; tabs are not allowed
Open

        return self::SHARING_ACCESS_PUBLIC == $this->get('editstatus');

Spaces must be used to indent lines; tabs are not allowed
Open

    public function getCreateRuleUrl()

Spaces must be used to indent lines; tabs are not allowed
Open

        $instance = false;

Spaces must be used to indent lines; tabs are not allowed
Open

     */

Spaces must be used to indent lines; tabs are not allowed
Open

            $instance->set('editstatus', $row['editstatus']);

Spaces must be used to indent lines; tabs are not allowed
Open

        $dependentModulesList = [];

Spaces must be used to indent lines; tabs are not allowed
Open

        $userIds = (new App\Db\Query())->select(['id'])

Spaces must be used to indent lines; tabs are not allowed
Open

            ->column();

Spaces must be used to indent lines; tabs are not allowed
Open

    {

Spaces must be used to indent lines; tabs are not allowed
Open

        App\Db::getInstance()->createCommand()

Spaces must be used to indent lines; tabs are not allowed
Open

     * @param mixed id or name of the module

Spaces must be used to indent lines; tabs are not allowed
Open

            ->update('vtiger_def_org_share', ['permission' => $this->get('permission')], ['tabid' => $this->getId()])

Spaces must be used to indent lines; tabs are not allowed
Open

    }

Spaces must be used to indent lines; tabs are not allowed
Open

            $query->where(['vtiger_tab.tabid' => $value]);

Spaces must be used to indent lines; tabs are not allowed
Open

        if ($row) {

Spaces must be used to indent lines; tabs are not allowed
Open

            $instance->initialize($row);

Spaces must be used to indent lines; tabs are not allowed
Open

    /**

Spaces must be used to indent lines; tabs are not allowed
Open

        if ($editable) {

Spaces must be used to indent lines; tabs are not allowed
Open

    }

Spaces must be used to indent lines; tabs are not allowed
Open

    public static function getDependentModules()

Spaces must be used to indent lines; tabs are not allowed
Open

    {

Spaces must be used to indent lines; tabs are not allowed
Open

     *

Spaces must be used to indent lines; tabs are not allowed
Open

    public function getRulesListUrl()

Spaces must be used to indent lines; tabs are not allowed
Open

    /**

Spaces must be used to indent lines; tabs are not allowed
Open

            ->innerJoin('vtiger_tab', 'vtiger_tab.tabid = vtiger_def_org_share.tabid')

Spaces must be used to indent lines; tabs are not allowed
Open

            ->where(['vtiger_tab.presence' => [0, 2]]);

Spaces must be used to indent lines; tabs are not allowed
Open

            $instance = new self();

Spaces must be used to indent lines; tabs are not allowed
Open

     *

Spaces must be used to indent lines; tabs are not allowed
Open

     */

Spaces must be used to indent lines; tabs are not allowed
Open

        set_time_limit($phpMaxExecutionTime);

Spaces must be used to indent lines; tabs are not allowed
Open

        return '?module=SharingAccess&parent=Settings&view=IndexAjax&mode=editRule&for_module=' . $this->getId();

Spaces must be used to indent lines; tabs are not allowed
Open

    {

Spaces must be used to indent lines; tabs are not allowed
Open

     * @return <Array> - List of Vtiger Module Model or sub class instances

Spaces must be used to indent lines; tabs are not allowed
Open

        }

Spaces must be used to indent lines; tabs are not allowed
Open

            $instance->set('editstatus', $row['editstatus']);

Spaces must be used to indent lines; tabs are not allowed
Open

        }

Spaces must be used to indent lines; tabs are not allowed
Open

        return $instance;

Spaces must be used to indent lines; tabs are not allowed
Open

     * @param mixed $editable

Spaces must be used to indent lines; tabs are not allowed
Open

     * @param mixed $restrictedModulesList

Spaces must be used to indent lines; tabs are not allowed
Open

        $dependentModulesList['Accounts'] = ['HelpDesk'];

Spaces must be used to indent lines; tabs are not allowed
Open

    }

Spaces must be used to indent lines; tabs are not allowed
Open

    public function getSharingRules()

Spaces must be used to indent lines; tabs are not allowed
Open

        return Settings_SharingAccess_Rule_Model::getAllByModule($this);

Spaces must be used to indent lines; tabs are not allowed
Open

    }

Spaces must be used to indent lines; tabs are not allowed
Open

            $query->where(['name' => $value]);

Spaces must be used to indent lines; tabs are not allowed
Open

     *

Spaces must be used to indent lines; tabs are not allowed
Open

     * Static Function to get the instance of Vtiger Module Model for all the modules.

Spaces must be used to indent lines; tabs are not allowed
Open

    {

Spaces must be used to indent lines; tabs are not allowed
Open

        $phpMaxExecutionTime = App\Config::main('php_max_execution_time');

Spaces must be used to indent lines; tabs are not allowed
Open

     * @return bool

Spaces must be used to indent lines; tabs are not allowed
Open

    {

Spaces must be used to indent lines; tabs are not allowed
Open

    {

Spaces must be used to indent lines; tabs are not allowed
Open

        $query = (new App\Db\Query())->from('vtiger_def_org_share')

Spaces must be used to indent lines; tabs are not allowed
Open

     * Static Function to get the instance of Vtiger Module Model for all the modules.

Spaces must be used to indent lines; tabs are not allowed
Open

     * @param mixed $isEntityType

Spaces must be used to indent lines; tabs are not allowed
Open

    }

Class name "Settings_SharingAccess_Module_Model" is not in camel caps format
Open

class Settings_SharingAccess_Module_Model extends Vtiger_Module_Model

There are no issues that match your filters.

Category
Status