Fixed the resource pool report download issue

The session[:view] value needs to be stored in the instance variable - @view

https://bugzilla.redhat.com/show_bug.cgi?id=1114760