0

I have a taxonomy term "Store Locations". I have added terms as State & City by parent child concept. Like this:

enter image description here

I have created Store Locations as node and assign them in the taxonomy term like this:

enter image description here

Now I want to sort the nodes as per parent taxonomy term name.

For e.g: I have created the parent term "Bihar" first, then added "Andaman". So the term ID for Bihar is 6 and 7 for Andaman. So the sorting is showing Bihar at first and then Andaman.

I want to display them as alphabetical order of the parent term.

Currently the view is showing as per parent term id, not by name.

enter image description here

1 Answer 1

0

I have added another relationship "Taxonomy Term" as Parent and in Sort Criteria added a filter "Taxonomy Term Name" in ascending order.

enter image description here

1
  • As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.
    – Community Bot
    Commented Jul 14, 2022 at 21:52

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.