-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There are use cases where you may want to add an array of values to a query string. I.E. `ids[]=1&ids[]=2`. Previously the `mergeEntries` function was simply replacing any item in the search params with an identical name. This had the effect of only including the final entry in the params. This updates the `mergeEntires` function to just do an append rather than a replace if the entry name contains `[]`.
- Loading branch information
Showing
2 changed files
with
9 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters