Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Custom filter with key() doesn't work #31

Open
digislexia opened this issue Jun 1, 2022 · 0 comments
Open

Custom filter with key() doesn't work #31

digislexia opened this issue Jun 1, 2022 · 0 comments

Comments

@digislexia
Copy link

digislexia commented Jun 1, 2022

If i define key() method in my custom filter, for example if i want two instances of date filter: from & to, then check !in_array($filter, $filters) in globalFiltered method will always return false, because $filter will be equal defined key() and in $filters array will be simple class name of my filter.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant