v2.16.1 - Fix: filtro "Relevant only" non compariva su edit_ruleset con contesto host
Le righe "no match" erano incluse in RELEVANT_SEL e risultavano rilevanti: su pagine con contesto host/service ogni riga aveva un badge, quindi non c'era mai nulla da nascondere e la barra non veniva inserita. Ora il filtro nasconde proprio le righe che non matchano. Inoltre il guard cmkFilterToggle veniva settato in cima alla funzione: un primo tentativo a vuoto bloccava per sempre i successivi. Ora viene settato solo quando la barra viene effettivamente inserita.
This commit is contained in:
parent
033bc1c482
commit
0fbfda4b81
2 changed files with 9 additions and 5 deletions
|
|
@ -70,9 +70,9 @@ Applies to: `mode=edit_ruleset` with host/service context.
|
|||
---
|
||||
|
||||
### Ruleset Filter Toggle
|
||||
After match/ineffective highlighting runs, a **"Relevant only"** button appears above the rule list. Clicking it hides all non-highlighted rows and empty folders, leaving only the rules that matter for the current context.
|
||||
After match/ineffective highlighting runs, a **"Relevant only"** button appears above the rule list. Clicking it hides all `✗ no match` rows, non-highlighted rows and empty folders, leaving only the matching (or ineffective) rules for the current context.
|
||||
|
||||
Applies to: `mode=edit_ruleset` (when at least one highlighted row exists).
|
||||
Applies to: `mode=edit_ruleset` (when at least one `✓ match` or ineffective row exists).
|
||||
|
||||
---
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue