Module: check_mk
Branch: master
Commit: b14588061f724b20ad0b1d5c43009cbc7ce8d6c0
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b14588061f724b…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Tue Aug 23 10:24:17 2016 +0200
fixed ValueError
---
web/plugins/views/layouts.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/plugins/views/layouts.py b/web/plugins/views/layouts.py
index 4b71696..8bb4bc3 100644
--- a/web/plugins/views/layouts.py
+++ b/web/plugins/views/layouts.py
@@ -290,7 +290,7 @@ def grouped_row_title(index, group_spec, num_rows, trclass,
num_painters):
# and a tuple of the group_spec and the number of rows in this group is the value
def calculate_grouping_of_services(rows):
if not config.service_view_grouping:
- return {}
+ return {}, rows
# First create dictionaries for each found group containing the
# group spec and the row indizes of the grouped rows