Actions
Bug #3128
closedEC2 images listing when creating a new host broken in 1.3 RC1
Description
Upgraded to 1.3 RC1 and found that this commit breaks EC2 images listing when creating a new host or editing.
https://github.com/theforeman/foreman/commit/76e5dd41bd575f7e6df7c7422660510216a9b964
Just changed back the following in app/controllers/images_controller.rb and it started working again.
from this:
@images = @compute_resource.images.search_for(params[:search], :order => params[:order]).paginate :page => params[:page]
to this:
respond_to do |format|
format.html { @images = values.paginate :page => params[:page] }
format.json { render :json => values }
end
Actions