Browse Source

Fix #485: sort localized country names alphabetically

master
Roman Anasal 10 years ago
parent
commit
f6ef43d3b0
  1. 3
      app/js/controllers.js

3
app/js/controllers.js

@ -2519,6 +2519,9 @@ angular.module('myApp.controllers', ['myApp.i18n']) @@ -2519,6 +2519,9 @@ angular.module('myApp.controllers', ['myApp.i18n'])
}
}
}
$scope.countries.sort(function(a, b) {
return a.name.localeCompare(b.name);
});
});
})

Loading…
Cancel
Save