0

I'm currently working on Drupal 10 and utilizing Views with filter criteria. However, when I apply filters to my view, it shows the ID of the taxonomy term instead of its name. How can I ensure that it displays the name of the term instead of the ID? Essentially, I want it to show something like 'keys=&theme=operateur' instead of 'keys=&theme=2'.

I tried configuring contextual filters, but nothing seems to work.

1 Answer 1

0

Check this answer on the drupal specific stack site.

Basically, you'll have to add a taxonomy term relationship to the view.
Then the taxonomy term name should be available to be added as a filter.

I think (but not 100% sure) the taxonomy term name exposed filter will be a textfield at this stage, but you could then use a form alter to change it to a select list and populate it with the relevant term name values as options.

Sign up to request clarification or add additional context in comments.

1 Comment

I have the exact same problem in Drupal 10. It always worked before. I've tried everything, but it's still not working. Can anyone help?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.