-
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
needscontact needs to call the right API route. #680
Comments
Unrelated (maybe?) bug: If you visit https://webcompat.com/api/issues?page=1&per_page=50&state=open&stage=all&sort=created&direction=desc directly in the browser it's... surprising. 💩 👈 |
@miketaylr it's a JSON file. What did you notice was wrong? |
The bug is in |
Oh, nevermind. >_< Not fully awake I guess. |
As for the issue about the redundancy, yeah that's a good point. Right now we just pass along all params to GitHub (and they don't seem to mind), but we could filter out our own at the API level. |
This will get fixed by #685. If somebody wants to refactor issue-list.js so it doesn't rely on certain DOM elements existing to succeed - that would be a cool contribution. Probably not a huge priority though. 💐 |
I'm gonna close this as a dupe of #434. |
This is blocking #434
The current call to needscontact is not carried on to the API call.
For example needsdiagnosis is working well, but needscontact is failing and being redirected to all.
The call to the API was:
https://webcompat.com/api/issues?page=1&per_page=50&state=open&stage=all&sort=created&direction=desc
An API call is made to all, while when requesting sitewait for example the API call is made to
https://webcompat.com/api/issues/category/sitewait?page=1&per_page=50&state=open&stage=sitewait&sort=created&direction=desc
btw maybe an additional issue. In
https://webcompat.com/api/issues/category/sitewait?page=1&per_page=50&state=open&stage=sitewait&sort=created&direction=desc
/api/issues/category/sitewait
stage=sitewait
seems to be redundant.
The text was updated successfully, but these errors were encountered: