Extend Filter widget API to allow redefining a scope
Open
@mjauvin is already working on this.
Since May 1, 2025.
- Dominant language
- PHP
- Stars
- 1.5k
- Forks
- 246
- Avg merge
- 19h 2m
- Merged PRs (30d)
- 7
Description
Package targeted
Winter CMS
Description
Currently it is possible to remove a scope via removeScope(), but this is not enough in case when a scope needs some adjustment. allScopes is a protected property and direct access is not possible (and obviously not recommended).
Will this change be backwards-compatible?
Adding a setter method will help in certain cases. It will be optional to use it.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.