wintercms / wintercms/winter

Extend Filter widget API to allow redefining a scope

Open
#1,347 6 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.