Active
Project:
Location
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Nov 2011 at 16:37 UTC
Updated:
24 Apr 2013 at 19:53 UTC
When sorted in Views based on Location:Country, the sorting criteria bases it on the option value rather than the outputted value.
For example:
<option value="ae">United Arab Emirates</option>
is sorted alphabetically by Views before Argentina because it has a value of "ae."
Is there a way to change this in the backend of Locations?
Comments
Comment #1
mistaparker commentedExperiencing the exact same issue. After looking in the DB, it appears that Location stores the 2 character ISO code, which is the value that it is sorted by in Views. Unfortunately, there are Countries, such as United Arab Emirates, that have an ISO code (ae) that don't alphabetically match the full name, thus creating the perceived anomaly.
I certainly hope that there is an update provided to correct this issue, because being able to sort properly via Country is fairly useful.
Comment #2
amybrate commentedRunning into this as well. Looks like it got fixed for D6...