Skip to content

Location Sorting Issue on All-listing card #1681

@a1amin

Description

@a1amin

Directorist version

Version 7.8.2

Environment

No response

Description

The order of location, sub-location, and child-locations is inconsistent. Sometimes, it displays as "State, City, Country," at other times as "Country, City, State," and occasionally as "City, State, Country."

However, it should consistently follow the order of "City, State, Country" representing "Sub-child, Child, Parent.

Screenshot: https://ibb.co/2h6YGHh

Steps to reproduce

  1. Need to add multi-level location taxonomy from "Directory Listing > Location".
  2. From the builder add the location on the all-listing card.

Isolating the problem

  • I have reproduced this bug in localhost.
  • This bug happens with a default WordPress theme active (eg. 2021, 2022 etc).

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions