Commit 792102d0e6619f550c88ef0e98c25450e2520bff

Authored by Sven Pachnit
1 parent fe1b7f5f
Exists in master and in 1 other branch production

Sort list of apps to copy settings from.

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/helpers/apps_helper.rb
... ... @@ -4,7 +4,7 @@ module AppsHelper
4 4 html = link_to('copy settings from another app', '#',
5 5 :class => 'button copy_config')
6 6 html << select("duplicate", "app",
7   - App.all.reject{|a| a == @app }.
  7 + App.all.asc(:name).reject{|a| a == @app }.
8 8 collect{|p| [ p.name, p.id ] }, {:include_blank => "[choose app]"},
9 9 {:class => "choose_other_app", :style => "display: none;"})
10 10 return html
... ...