The list of countries all mixed up - much friendlier if the long list with checkboxes was an alpha sort on country first name.

As it is now the list is eg:
Cocos (Keeling) Islands
Democratic Republic of the Congo (formerly Zaire)
Central African Republic
Congo (Republic of the Congo)
Switzerland (Confoederatio Helvetica)
Cote d'Ivoire (Ivory Coast)

Comments

z.stolar’s picture

Version: 5.x-1.x-dev » 5.x-2.7

In location.inc, under the function _location_country_select_options (line 1187), change (in line 1200):

<?php
else {
    $countrycodes = array_merge(array('' => '', 'xx' => 'NOT LISTED'), _location_get_iso3166_list());
  }
?>

to:

<?php
else {
    $countrycodes = array_merge(array('' => '', 'xx' => 'NOT LISTED'), _location_get_iso3166_list());
    asort($countrycodes);
  }
?>
brmassa’s picture

Status: Active » Fixed

Guys,

its fixed on HEAD. Soon on Location 3

regards,

massa

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.