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

Get routes with similar names but different query parameters does not resolve correctly #286

Closed
shimonchayim opened this issue Feb 16, 2012 · 3 comments

Comments

@shimonchayim
Copy link
Member

For e.g:

We had following 3 routes with different query parameters

getaspects_catid_dp.ql -- /getaspects?searchbycategoryid={categoryid}&producttypename={producttype}
getaspects_key_dc.ql -- /getaspects?searchbykeyword={keyword}
getaspects_key_dp.ql -- /getaspects?searchbykeyword={keyword}&producttypename={producttype}
When we were calling route 3 with parameters searchbykeyword={keyword}&producttypename={producttype}, route 2 was getting called instead with one parameter searchbykeyword={keyword}

@shimonchayim
Copy link
Member Author

A bug in app.js. Know the fix. Doing it now.

@shimonchayim
Copy link
Member Author

Fix was incomplete...:-(

s3u pushed a commit that referenced this issue Feb 27, 2012
Propogate fix for Issue #286 : Back fix for 0.3
@prjande
Copy link

prjande commented Feb 27, 2012

verified the fix. The Get routes are now resolved correctly.

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

No branches or pull requests

2 participants