From cee6bd63cff71b3111e357084258fc2f6d0e55cd Mon Sep 17 00:00:00 2001 From: Nadja Heitmann Date: Tue, 20 Feb 2024 08:37:53 +0000 Subject: [PATCH] Fixes #386 - Change search parameter to puppetclass --- app/views/foreman_puppet/puppetclasses/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/foreman_puppet/puppetclasses/index.html.erb b/app/views/foreman_puppet/puppetclasses/index.html.erb index 19242be4..15f14c7c 100644 --- a/app/views/foreman_puppet/puppetclasses/index.html.erb +++ b/app/views/foreman_puppet/puppetclasses/index.html.erb @@ -29,7 +29,7 @@ main_app.hash_for_edit_hostgroup_path(id: hg).merge(auth_object: hg, authorizer: @hostgroups_authorizer) end.to_sentence.html_safe %> - <%= link_to puppetclass.hosts_count, main_app.hosts_path(search: "class = #{puppetclass.name}")%> + <%= link_to puppetclass.hosts_count, main_app.hosts_path(search: "puppetclass = #{puppetclass.name}")%> <%= puppetclass.class_params.size %> <%