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 _renderQueryParams #121

Merged
merged 1 commit into from
Jan 7, 2020
Merged

Fix _renderQueryParams #121

merged 1 commit into from
Jan 7, 2020

Conversation

jazdw
Copy link
Contributor

@jazdw jazdw commented May 8, 2015

If you have a Request store and you filter it with an OR operator and then later filter it with another filter the _renderQueryParams() method renders each filter from the queryLog separately. These rendered parameters are returned to _renderUrl() where they are joined together using the & symbol. No brackets are inserted around the OR term resulting in an incorrect request URL.

This fix combines 'filter' type queryLog entries in a manner which obeys order of precedence.

Combine filter queryLog entries in a manner which obeys order of
precedence
@edhager edhager force-pushed the master branch 2 times, most recently from 1dbb25d to a5655fe Compare August 18, 2016 15:59
@dylans dylans added this to the 1.2 milestone May 24, 2017
@msssk msssk merged commit 2288729 into dojo:master Jan 7, 2020
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.

3 participants