ManageIQ/manageiq — pull request #680 by h-kataria (2014-09-23 15:43:10+00:00)
Title: Reset value of index if chart is not available.

Added line of code to reset value of index in @perf_options to fix an issue([] for nil:NilClass error), if user has zoomed in on one of the charts and then changed options such as group by from the options box on the screen and the returning result didn't include the chart user was zoomed in on. With this change user will be presented with all the zoomed out available charts.

https://bugzilla.redhat.com/show_bug.cgi?id=1144622
https://bugzilla.redhat.com/show_bug.cgi?id=1145741

@dclarizio please review/test