Skip to content

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.

Copy link

@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