From 60c5e9717ac6333dcd899f61080ae15c3b10fd78 Mon Sep 17 00:00:00 2001 From: Martin Hradil Date: Thu, 10 Jan 2019 16:52:48 +0000 Subject: [PATCH] Fix missing paging in provisioning template selection go to `/miq_request/pre_prov?template_klass=cloud` there is a GTL with a list of templates, but thanks to `@in_a_form = true` (and `center_div_no_listnav` checking both `layout_uses_paging? && !@in_a_form`), that means no paging toolbar. That was correct when this was not using the GTL component but no longer, removing. --- app/controllers/application_controller/miq_request_methods.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/controllers/application_controller/miq_request_methods.rb b/app/controllers/application_controller/miq_request_methods.rb index 3f3806fb4bf..60ac511e92c 100644 --- a/app/controllers/application_controller/miq_request_methods.rb +++ b/app/controllers/application_controller/miq_request_methods.rb @@ -177,7 +177,6 @@ def set_pre_prov_vars end session[:changed] = false # Turn off the submit button @edit[:explorer] = true if @explorer - @in_a_form = true end def get_template_kls