Facet - allow min_count = 0

Created on 17 January 2022, almost 3 years ago
Updated 20 August 2024, 4 months ago

Problem/Motivation

In facets we can set "Minimum count" to "0" to display facets even if they have no results. If the result->count() method return 0 the GlossaryAZWidget returns always markup only.

Steps to reproduce

In facets: Set Minimum count to 0. Try a search without results.

Proposed resolution

Check if minimum count is zero.

Feature request
Status

Needs review

Version

4.0

Component

Code

Created by

🇩🇪Germany Duwid

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024