views - contextual filter - how to get term name, not term id

Created on 13 October 2017, about 7 years ago
Updated 4 July 2024, 4 months ago

Views contextual filter on taxonomy term ID, with - override title - only has replacement patterns for term ID available:

{{ arguments.field_taxo_term_prod_category_target_id }}
{{ raw_arguments.field_taxo_term_prod_category_target_id }}

Views should provide replacement token(s) that yield the TERM NAME, not the term ID (which is essentially useless).

If there is some other way to achieve the appropriate result, to display the - term name of the current taxonomy term when a View traverses a taxonomy vocabulary, what is it?

===
step to reproduce

Create a view page with /taxonomy/term/% path and a contextual filter on an associated taxonomy term.

The option for "override title" and "replacement patterns" only provides the "target id", and not the term name, when it is the taxonomy term name that is surely the 99.99% desired use case.

🐛 Bug report
Status

Closed: duplicate

Version

8.9 ⚰️

Component
Views 

Last updated about 10 hours ago

Created by

🇺🇸United States websiteworkspace

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