Skip to content

Commit

Permalink
WK14212: Fixed missing aggregation filter in frozen aggregations view
Browse files Browse the repository at this point in the history
Change-Id: Id812cb8bdfeb1188e5edad66043be83d5483d4f5
  • Loading branch information
schnetzzz committed Nov 2, 2023
1 parent 839d24f commit 0f549e2
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .werks/14212
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Title: Fixed missing aggregation filter in frozen aggregations view
Class: fix
Compatible: compat
Component: bi
Date: 1695990771
Edition: cre
Level: 1
Version: 2.3.0b1

4 changes: 3 additions & 1 deletion cmk/gui/bi/view.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,9 @@ def render(self, row: Row, cell: Cell) -> CellSpec:
]
)

bi_frozen_diff_url = "view.py?" + urlencode_vars([("view_name", "aggr_frozen_diff")])
bi_frozen_diff_url = "view.py?" + urlencode_vars(
[("aggr_name", row["aggr_name"]), ("view_name", "aggr_frozen_diff")]
)

frozen_info = row["aggr_compiled_aggregation"].frozen_info
with output_funnel.plugged():
Expand Down
1 change: 1 addition & 0 deletions cmk/gui/views/builtin_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -3515,6 +3515,7 @@
"aggr_group": {},
"aggr_group_tree": {},
"aggr_hosts": {},
"aggr_name": {},
"aggr_name_regex": {"aggr_name_regex": ""},
"aggr_state": {
"birs-1": "on",
Expand Down

0 comments on commit 0f549e2

Please sign in to comment.