Taxonomy Total count > "Show all (<count>)" incorrect

Created on 24 March 2025, 10 days ago

Problem/Motivation

The total count of a taxonomy facet is incorrect.
It is using to the highest node_id of the taxonomy vocabulary instead of an actual count of the number of taxonomy terms in the vocabulary

Steps to reproduce

Created a taxonomy vocabulary.
Added terms
Deleted some terms
Use the facet to filter by one value
The 'Show all ()" displays the latest node id of the taxonomy terms and not the actual count of current taxonomy terms.

Proposed resolution

I wonder where is the query that gets back the count of total items

My environment

Drupal: 10.4.5
Facets: 2.0.9
PHP: 8.2.15

thanks!

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024