streetlives / yourpeer.nyc

The open source repository behind the yourpeer.nyc web application
https://yourpeer.nyc
MIT License
0 stars 0 forks source link

Priortize the selected category in list and detail view - details view prio is broken #136

Open adambard1 opened 1 month ago

adambard1 commented 1 month ago

Not sure when this broke, I don't think it is to do with the age filter, since it isn't working if no age is entered. When a user selects a filter category and then clicks into the list to see more details on a result, that category should be top of the list. this is a long established convention for gogetta and yourpeer, helping people in crisis find the service they need.

(This should apply whether the age filter is in operation or not and apply to the list summary as well as the details page).

adambard1 commented 1 month ago

e.g., in this series I select Shelter & Housing, then Rising Ground, but the Shelter and Housing servce is second t personal care, which I have not selected.

Screenshot_20240617-095444 Screenshot_20240617-095512 Screenshot_20240617-095531

adambard1 commented 4 weeks ago

To confirm, in detail view, the searched-for category is first, and the dropdown is open, all other categories are closed.