Bug #21787
openForeman warns about itself as a host without an Org in a confusing way
Description
Description of problem:
On a new installetion, go to Administer -> Organizations the WebUI throws a box with a warning:
There is 1 host with no organization assigned (hyperinked)
How reproducible:
Everytime
Steps to Reproduce:
1. Make sure you are in an organization context
2. Go to Administer -> Organizations
3. Click the link inside the warning box
Actual results:
There is a warning:
There is 1 host with no organization assigned
When you click on the link, it takes you to the list of hosts WITHIN the currently selected ORG, which is in this case empty.
Expected results:
If the error should be even displayed the hosts without an org, the hyperink should lead the user to the list of hosts in Any Organization and not the currently viewed one.
No data to display