Problem:
This is a small bug, but when you go to the Run Job page, and enter something in the search query, before you could click preview and it would show a list and name of hosts.
Now I can still click the refresh button, and I get an idea of the number of hosts it found with my query. But if I click preview, nothing happens and no list ever appears. I have tried with Firefox, Chrome, and Brave to rule out a specific browser issue
Expected outcome:
Clicking preview should show the names of hosts that match with the search query
I tried reproducing this on develop and on foreman 3.1.3 and could not.
What I did is:
Open new job page
Enter name ~ * into the search
Click on the refresh button
Click on the eye/preview button
See list of hosts pop out in a modal. if there are no hosts there is still a modal that says “No hosts found.”
Weird, I was using Ansible Playbook for my tests, also tried to choose a different category and back to Ansible Playbook and still everything works fine me.