Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By dodlhuat on
Is there a functionality to compare a selected taxonomy term with some content in another field and then show the content?
For example. If a field "country" contains "Austria" and the taxonomy "Austria" is selected I want to show the row in my View. What I need is an if statement in Views.
if country is "Austria" and taxonomy_term is "Austria" show. But it depends on the selected country. I cant just make two queries but have to use the field content as variable.
A bit complex but I hope anyone is knowing the right way to a solution.