Filter Discussion - where (value = x or value is null) #1822
seanmalbert
started this conversation in
General
Replies: 1 comment 1 reply
-
@anders-schneider and @avaleske , A possible way to handle this with the updates to the filter logic to allow for arrays of objects, we could allow for a new key like
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Good question, and yes agreed that for some filters (maybe zip code? neighborhood?) if a listing has a null value, we probably don't want to include that listing in the results. But for others (rent range? unit size?) we may want to include listings that don't have that data at the bottom of the search results. Our plan was to consider each type of filter and make a reasonable decision.
And to your point ("make that clear to the end user that that's what's getting returned"), @avaleske suggested adding a UI component with some explanatory text as a "break" between the matching listings (above the component) and the "we don't know if these match" listings (below the component).
We are still thinking about the right approach here, and would appreciate any thoughts/ideas from your side!
Originally posted by @anders-schneider in #1817 (comment)
Beta Was this translation helpful? Give feedback.
All reactions