I have a view with a taxonomy term field called Location in Drupal 7 and I want to show the first / root level of the term hierarchy in each view item field, aka the Country level.
My Location field in not mandatory, so I also want to show items with no Location. Meaning that I should mark all my term relationships as not required.
I have tried using relationship to the taxonomy term, and to the parent of the taxonomy term. And then a parent filter on the parent of the taxonomy term with value = empty. By this way I managed to show the root level of my taxonomy field only, but not items with no Location. As trying to make my relationship on taxonomy term not required, throws an exception. I guess this is due to the fact that then it tries to find the parent of the term and if it the term is empty, it throws the exception.
Any suggestions on how could I show the root term (Country) and, at the same time, items with no Location?