Skip to content

Commit

Permalink
Merge pull request #5235 from carbonin/fix_database_connection_page
Browse files Browse the repository at this point in the history
Fix database connections page
  • Loading branch information
mzazrivec authored Feb 12, 2019
2 parents cbc7941 + 64af5d7 commit 7bee29b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/ops_controller/db.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7bee29b

Please sign in to comment.