Description of problem: In Dashboard view for infrastructure, Recent hosts and Recent VMs are not filtered by provider
Version-Release number of selected component (if applicable): 4.2 GA
How reproducible: Always
Steps to Reproduce:
1. go to any infra provider
2. open Dashboard view
Actual results: Recent VMs and Recent Hosts are the same for all providers..
New commit detected on ManageIQ/manageiq-ui-classic/master:
Author: Harpreet Kataria <email@example.com>
AuthorDate: Wed Jan 11 11:23:45 2017 -0500
Commit: Harpreet Kataria <firstname.lastname@example.org>
CommitDate: Thu Jan 12 12:44:57 2017 -0500
Filter Recent VMs/Hosts charts by provider
On Infrastructure Provider Dashboard view, Recent hosts and Recent VMs should be filtered by selected provider.
app/services/ems_infra_dashboard_service.rb | 4 ++--
spec/services/ems_infra_dashboard_service_spec.rb | 29 +++++++++++++++++++++++
2 files changed, 31 insertions(+), 2 deletions(-)
create mode 100644 spec/services/ems_infra_dashboard_service_spec.rb
Verified in 126.96.36.199.20170307183144_745a3d9. Recent hosts and VMs charts in infrastructure provider filtered by provider.