Unpublished terms appears in facets

Created on 5 May 2022, about 2 years ago
Updated 17 May 2024, about 1 month ago

Problem/Motivation

If a taxonomy term is unpublished, but a node is tagged with it, the term still appears in the facets as a filter option, also to anonymous users.

Steps to reproduce

Create a term in a taxonomy vocabulary that is used in a facet;
Tag a node with that term;
Unpublish the term;
The term does not appear on the node page but still appears in the facet as a filter option.

Proposed resolution

Unpublished terms should not appear in facets.

🐛 Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

🇮🇹Italy mtoscano

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.69.0 2024