diff --git a/app/controllers/ops_controller/db.rb b/app/controllers/ops_controller/db.rb index 70611fa06c6..a87e9a5f96d 100644 --- a/app/controllers/ops_controller/db.rb +++ b/app/controllers/ops_controller/db.rb @@ -26,7 +26,7 @@ def db_list(exp = nil) ] ) elsif model == VmdbDatabaseConnection - @zones = Zone.visible.order(&:name).collect { |z| [z.name, z.name] } + @zones = Zone.visible.order(:name).collect { |z| [z.name, z.name] } # for now we dont need this pulldown, need to get a method that gives us a list of workers for filter pulldown # @workers = MiqWorker.all.sort_by(&:type).collect { |w| [w.friendly_name, w.id] } end