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

Add set query() method #5651

Merged
merged 2 commits into from
Sep 5, 2024
Merged

Add set query() method #5651

merged 2 commits into from
Sep 5, 2024

Conversation

pxpm
Copy link
Contributor

@pxpm pxpm commented Sep 5, 2024

WHY

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

There was nothing "wrong" technically, but there was no way to fluently set the query. Developers could do: $this->crud->query = Model::query(), but no way to fluently do the same.

AFTER - What is happening after this PR?

Added the setQuery method to help fluently change the crud panel query.

HOW

How did you achieve that, in technical terms?

Created a method and added tests for it.

Is it a breaking change?

No

@pxpm pxpm merged commit 6a2daee into main Sep 5, 2024
3 checks passed
@pxpm pxpm deleted the add-setQuery()-method branch September 5, 2024 09:42
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