Hello everyone*,* I need some help with handling a...
# community-help
p
Hello everyone*,* I need some help with handling a specific issue when applying multiple filters in my application. Currently, when I pass a query to apply multiple filters, the response includes
facet_counts
, which contains the filter fields. Based on this data, I dynamically rebuild the filter page to show the available options. The problem arises when applying multiple filters results in no products being returned. In such cases, the
facet_counts
is empty, causing the filter fields on the filter page to disappear entirely. Is there a better way to handle this scenario so that the filter fields remain visible even when no products are found?