Skip to content

Commit 0f6ad9b

Browse files
MariaAgaadamruzicka
authored andcommitted
Fixes #38202 - allow host search in job feature run
1 parent 613a63d commit 0f6ad9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/job_invocations_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def prepare_composer
171171
inputs = params[:inputs].permit!.to_hash if params.include?(:inputs)
172172
JobInvocationComposer.for_feature(
173173
params[:feature],
174-
params[:host_ids],
174+
params[:search].presence || params[:host_ids],
175175
inputs
176176
)
177177
else

0 commit comments

Comments
 (0)