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

fix: replace export request #73

Merged
merged 1 commit into from
Feb 26, 2025
Merged

Conversation

Seb33300
Copy link
Contributor

We are facing a bug in our app with exports filtered by a custom search form.

Because the current code is using ->merge(), the first export works well, but on the 2nd export, the previous request is kept in memory and previous params are merged with the new request.
If a praram has been removed in the new request, that param will not be removed from the request, resulting in incorrect filters applied to the query.

@yajra yajra merged commit 238043d into yajra:master Feb 26, 2025
7 checks passed
@yajra
Copy link
Owner

yajra commented Feb 26, 2025

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