Matthew Bayliss Posted June 26, 2019 at 11:47 AM Share Posted June 26, 2019 at 11:47 AM We want to create either a search module or an advanced filter for a project but we're struggling a bit figuring out how to get it to return the results we need. Probably easiest if I give an example: Lets say on a dog breed site we have a field for "needs garden" that has two options: Yes / No We want the user to be able to select whether or not they have a garden to filter the results to only show suitable breeds. The problem is that a dog that doesn't need a garden could still live in a house that has one. Therefore we don't want to exclude dogs that don't need gardens from searches made by users who have a garden. Basically this is what we're trying to achieve: If a user selects they don't have a garden (ie: Garden: No) then it should only show breeds that have the No value for that field. If a user selects that they have a garden (ie: Garden: Yes) then ideally it would show breeds that have either Yes or No for that field. Is this possible? Link to comment
Alejandro Posted June 26, 2019 at 03:21 PM Share Posted June 26, 2019 at 03:21 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Matthew Bayliss Posted June 26, 2019 at 03:47 PM Author Share Posted June 26, 2019 at 03:47 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.