Werk #17499: Fix crash on rule search when searching for sub group

Component Setup
Title Fix crash on rule search when searching for sub group
Date Apr 4, 2025
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0b5 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

When using the rule search with the group filter set to any subgroup (with a leading ⌙), the result page will crash with an error.

With this werk, we fix the resulting crash and restore the filtering of rules to a subgroup.

To the list of all Werks