Facets summary empty text not rendered

Created on 26 April 2023, almost 2 years ago

In my summary facet configuration, I enable the checkbox "Show a text when there are no results". However, this text is never shown in the summary block.

Upon debugging, it seems the $results_count variable in ShowTextWhenEmptyProcessor is not 0. I'm not sure why that is the case.
When activating the ShowCountProcessor though, to show the number of results in the summary block, it DOES show 0 results.

So I fixed this issue by using the same result counting logic for both processor plugins.

Note that my facet blocks are using AJAX - but even on full page refresh this behaviour seems to occur.

🐛 Bug report
Status

Active

Version

2.0

Component

Facet summary

Created by

🇧🇪Belgium svendecabooter Gent

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024