BeWelcome / rox

:earth_africa: BeWelcome lets you share a place to stay, connect with travellers, meet up and find accommodation on your journey. It is and will always be a free, open source, non for profit, democratic community.
https://www.bewelcome.org
GNU General Public License v2.0
188 stars 54 forks source link

Bug with gender search filter #226

Closed ghost closed 1 year ago

ghost commented 3 years ago

Bug reported by Polyglot, but not solved yet so I post it here :

thisismeonmounteverest commented 3 years ago

Second part is still open.

tillwenke commented 2 years ago

@thisismeonmounteverest it is the other way around. "other" still does not work.

nciemniak commented 2 years ago

The search for a host with gender "other" returns all hosts instead.

Planning to investigate this as a first issue. Feel free to assign the issue to me, if possible @ghost

tillwenke commented 2 years ago

The search for a host with gender "other" returns all hosts instead.

Planning to investigate this as a first issue. Feel free to assign the issue to me, if possible @ghost

I am also just starting. Tried to find out more about the structure of the project here https://github.com/BeWelcome/rox/issues/296#issue-1320094636 hope this helps us at least a bit to get started

nciemniak commented 1 year ago

It appears to work properly when I test it locally, i.e. searching for hosts with gender "other" in fact returns only hosts with gender "other." Makes me wonder if it could be a data issue? Has anyone been able to replicate this locally? (maybe @TillWenke, @thisismeonmounteverest ?)

My next route of action would normally be to take a look at the data in the production database (or read replica, if exists), logging in with read-only permissions for safety, but considering I am new, I am reluctant to ask this sort of admin-exclusive access.

thisismeonmounteverest commented 1 year ago

@nciemniak Seems I fixed that already :)

Regarding access to production data that would need an NDA but trying it on beta should be enough if your local code is close to the deployed code there.

nciemniak commented 1 year ago

@thisismeonmounteverest Nice 👍 How do I access beta?

Also, I'm still seeing the issue on production, so is the fix only pushed to beta?