-
Notifications
You must be signed in to change notification settings - Fork 991
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show complete hostgroup name in host overview and table #10244
Conversation
d0ec176
to
b85f6a6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
b85f6a6
to
dcccfc6
Compare
Thanks everyone! |
ouiaId="host-group-link" | ||
component="a" | ||
href={foremanUrl( | ||
`/hosts?search=hostgroup="${hostgroupName}"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is still one issue with this. If you have a parent host group "parentA" and "parentB" its allowed to have a child host group with the name "child" in both "parentA" and "parentB" - so the child has the same name.
if you know have a button to "child" it will search for "child" having both, hosts of group "parentA/child" AND "parentB/child".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added projects issue: https://projects.theforeman.org/issues/38004
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sbernhard thank you for noticing, I'm looking into that
When using nested hostgroups only the last hostgroup in the chain was displayed on the host overview page.
The complete hostgroup name is now shown in the new host table and on the host overview page (details and system properties cards).