Skip to content

Default filters with tests#2076

Merged
luanfreitasdev merged 2 commits into
Power-Components:6.xfrom
fiebertrauma:6.x
Feb 19, 2026
Merged

Default filters with tests#2076
luanfreitasdev merged 2 commits into
Power-Components:6.xfrom
fiebertrauma:6.x

Conversation

@fiebertrauma

@fiebertrauma fiebertrauma commented Feb 12, 2026

Copy link
Copy Markdown
Contributor

⚡ PowerGrid - Pull Request

  • Bug fix
  • Enhancement
  • New feature
  • Breaking change

Description

This PR completes #2054 which can be closed.

Related Issue(s):

Documentation

This PR requires Documentation update?

  • Yes
  • No
  • I have already submitted a Documentation pull request.

@fiebertrauma

fiebertrauma commented Feb 12, 2026

Copy link
Copy Markdown
Contributor Author

@luanfreitasdev Hey it is me (johannesMEGABAD) I somehow can not do anything on the other PR anymore... therefore I created a new one from my private account. I also provided the tests directly in this PR. They are in a single file. I hope that's ok.

I also implemented your suggestion in the applyDefaultFilter function. The tests did pass on my machine.

@luanfreitasdev

Copy link
Copy Markdown
Member

Hi @h4or , thank you again!

non ?? check on filled() for $columnsByField;

Using data_get for filter key instead of direct access
@luanfreitasdev luanfreitasdev merged commit cb9849b into Power-Components:6.x Feb 19, 2026
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants