Filtered hostgroup, double filter in detail pane #973
Labels
area/navigation
Affects the navigation
bug
Something isn't working
difficulty/hard
You can do this! Just ask someone for input first, please. And demand (some of) it as comment here!
Milestone
Describe the bug
If I use the link hostrgroups and then go to the HOST or SERVICES detail everything works perfectly.
If I filter a hostgroup by a certain name and then press the HOST or SERVICES link, the list in the detail pane is empty.
When I look at the URL I see that the filter is placed twice after the hosts.
To Reproduce
icingaweb2/icingadb/hostgroups?hostgroup.name=icinga_servers#!/icingaweb2/icingadb/hosts?hostgroup.name=icinga_servers&hostgroup.name=icinga_servers
Why 2 times -> hostgroup.name=icinga_servers&hostgroup.name=icinga_servers
If I replace the = with ~ in the hostgroup filter:
icingaweb2/icingadb/hostgroups?hostgroup.name~icinga_servers#!/icingaweb2/icingadb/hosts?hostgroup.name=icinga_servers&hostgroup.name~icinga_servers
Why 2 filters -> hostgroup.name=icinga_servers&hostgroup.name=icinga_servers
Expected behavior
I assume that only the filter has to be hostgroup.name=icinga_servers
and that the filter that was provided with the hostgroup is not extra added to the host/service detail pane
Your Environment
Latest snapshot on 17Feb2024
PHP : 8.3 (Remi)
OS : RHEL 7
The text was updated successfully, but these errors were encountered: