-
Notifications
You must be signed in to change notification settings - Fork 75
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
[BUG] Fix Home Page Shows Incorrect Listings #370
Labels
bug
Something isn't working
Comments
This was fixed as part of #374 -- thank you @Mhmdabed11 !!!! |
see above comment |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
https://www.rebuildblackbusiness.com/businesses/ is still making this api call:
https://api.rbb-api.com/api/v1/businesses?page=1&pageSize=11&in-need=true
with the "in-need" in the parameter, when that parameter should be omitted entirely. I think I called this out like a month ago.
essentially it should show you the same results as if you clicked "search" on the form with no filters, which is basically this page:
https://www.rebuildblackbusiness.com/businesses/all
which indeed appears to make the correct API call: https://api.rbb-api.com/api/v1/businesses?page=1&pageSize=11
I believe this bug is from an incomplete implementation of #343
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The first page of businesses should be showing all businesses, as if someone had clicked "search" without selecting any filter or entering any location
The text was updated successfully, but these errors were encountered: