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

Created on 13 October 2017, over 6 years ago
Updated 4 July 2024, 3 days 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 11 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.69.0 2024