Werk #19517: Fix service state filter not shown in filter sidebar
| Component | User interface | ||||||
| Title | Fix service state filter not shown in filter sidebar | ||||||
| Date | Mar 24, 2026 | ||||||
| Level | Trivial Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Incompatible - Manual interaction might be required | ||||||
| Checkmk versions & editions |
|
Previously, when using the st: filter expression in "Search in monitoring"
(e.g. st:CRIT) and pressing Enter to open the results in the "Service search"
view, the service state filter was missing from the filter sidebar. This made it
unclear which state filter was active. Additionally, manually adding the "Service
states" filter via "Add filter" showed default values instead of the currently
applied ones.
The root cause was that the searchsvc view definition did not include the
svcstate filter in its context, so the filter sidebar did not know to display
it. The view now includes the service state filter, matching the behavior of the
"All services" view.
Note: If you have cloned the "Service search" view, you need to manually add the "Service states" filter to your cloned view's context for it to appear in the filter sidebar.