Skip to content

Commit

Permalink
Return countries in alphabetical order in select
Browse files Browse the repository at this point in the history
  • Loading branch information
georgepalmer committed Nov 6, 2013
1 parent f24a5f8 commit 3ca648c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/country_select.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def country_options_for_select(selected = nil, priority_countries = nil, use_iso
::CountrySelect::COUNTRIES_FOR_SELECT
end

return country_options + options_for_select(values, selected)
return country_options + options_for_select(values.sort, selected)
end

# All the countries included in the country_options output.
Expand Down

0 comments on commit 3ca648c

Please sign in to comment.