Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pass view to the filter options #5646

Merged
merged 1 commit into from
Sep 2, 2024
Merged

pass view to the filter options #5646

merged 1 commit into from
Sep 2, 2024

Conversation

pxpm
Copy link
Contributor

@pxpm pxpm commented Sep 2, 2024

WHY

Fixes #5638

BEFORE - What was wrong? What was happening before this PR?

When defining a filter using array syntax, the view key would be fined in the filter options. Using the fluent syntax, the view key would only be set to the view property and not propagated as a filter option.

AFTER - What is happening after this PR?

When defining fluently a filter the view will set the property but also store itself in the options.

@pxpm pxpm merged commit 2eac727 into main Sep 2, 2024
9 checks passed
@pxpm pxpm deleted the pass-view-as-a-filter-option branch September 2, 2024 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[Bug] Unable to use filter of type 'view'
1 participant