metrotranscom / doorway

component-based web framework for affordable housing management
Apache License 2.0
3 stars 1 forks source link

fix: listings filtering UI bugs #699

Closed jaredcwhite closed 1 day ago

jaredcwhite commented 1 week ago

This PR addresses #505

Description

Min and max rental filters couldn't be removed once present…having no value in the field would end up resetting to the previous value after saving the filter. This PR ensures a removed amount will switch off that filter.

How Can This Be Tested/Reviewed?

Try adding values to min and/or max rent when browsing listings, and then removing them.

Author Checklist:

Review Process:

cade-exygy commented 1 week ago

@jaredcwhite This PR that is ready for review may impact this. I believe the changes in my PR address the referenced issue but we would need to test to make sure: https://github.com/metrotranscom/doorway/pull/571/files

jaredcwhite commented 1 week ago

@cade-exygy I think my fix is complementary to the work you've done there…at first glance I don't see anything which changes the behavior around min/max rent specifically.

cade-exygy commented 1 week ago

@cade-exygy I think my fix is complementary to the work you've done there…at first glance I don't see anything which changes the behavior around min/max rent specifically.

Okay sounds good, that makes sense. Just wanted to highlight in case there is something that comes up!

jaredcwhite commented 5 days ago

@mcgarrye Thanks for catching that! Hadn't even noticed that clear filters link down there to be honest. I'll look into it.

mcgarrye commented 1 day ago

breaking change has been fixed! merge as you please