Bug #3074
closedForeman GUI, bad search on clicking a Host's Hostgroup link, when using nested hostgroups
Description
From a Host Page, e.g. https://foreman/hosts/foo.example.com
, when the user clicks on the hostgroup and the host group is nested, the linked URL follows this pattern:
https://foreman/hosts?search=hostgroup+%3D+<level1Group>%2F<level2Group>
https://foreman/hosts?search=hostgroup+%3D+<level1Group>%2F<level2Group>%2F<level3Group>
These searches always produce zero results, since the proper URL would be (respectively):
https://foreman/hosts?search=hostgroup+%3D+<level2Group>
https://foreman/hosts?search=hostgroup+%3D+<level3Group>
I'm not sure whether the proper solution is to fix the html rendered to the browser or change how the host group membership data is stored such that the existing search lingo would function as expected.
Updated by Dominic Cleal over 11 years ago
- Is duplicate of Bug #3064: Links to hostgroups are not consistent added
Updated by Dominic Cleal over 11 years ago
- Category set to Web Interface
- Status changed from New to Duplicate
Thanks for the report, this will be fixed in 1.3 via #3064.