-
Notifications
You must be signed in to change notification settings - Fork 192
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
Search is broken #1023
Comments
IMHO this is a side effect of #795 - the site does not allow you filter by various separate options right now. You can't both give a search word and a bug state, for example. The bugs #795 and #863 are about fixing that but my attempts so far were not solid enough. (While I think it could be closed as a dup, I guess it will take time to fix those issues so we should perhaps add a workaround here) |
I don't think this is a dupe, this used to work. |
I think this bug is related, if not the cause:
I think we're double encoding the URL here and the GitHub API is like wtf r u doing. |
I suspect that's happening here: https://github.com/webcompat/webcompat.com/blob/master/webcompat/static/js/lib/issue-list.js#L517 So, original stuff works, but we are encoding already encoded junk and then it breaks. |
Nah, not the cause, just related to crappy search code. But might as well fix it in this branch. |
@miketaylr I writed a |
althought #1518 is merged, still an issue. I can investigate if you want @miketaylr ? |
Yes please! |
this link https://webcompat.com/issues?page=1&per_page=50&state=open&stage=all&sort=created&direction=desc&q=%22country%3A+jp%22 works now, it's fixed by #1518 |
I'm able to reproduce this issue only if we are not login. It would seem that this is a response from the local API |
Close due to #1531 |
Looks like search is broken.
STR:
Expected Results:
Display related bugs
Actual Results:
Error: "Not Found. Lost in Punk Cat Space"
Also navigating direct to this link doesn't work: https://webcompat.com/issues?page=1&per_page=50&state=open&stage=all&sort=created&direction=desc&q=%22country%3A+jp%22
The text was updated successfully, but these errors were encountered: