Module: check_mk
Branch: master
Commit: 66c7adbf2057f240eb99fb5d4090623cb275947f
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=66c7adbf2057f2…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Jul 17 12:59:13 2017 +0200
Invtable sorters: Added missing column declaration
Change-Id: Iba9ae77df49f9b13faa1d48f32ed9cbc4556116f
---
web/plugins/views/inventory.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/plugins/views/inventory.py b/web/plugins/views/inventory.py
index d9018f7..dca55b4 100644
--- a/web/plugins/views/inventory.py
+++ b/web/plugins/views/inventory.py
@@ -1055,7 +1055,7 @@ def declare_invtable_column(infoname, name, topic, title,
short_title,
}
multisite_sorters[column] = {
"title" : _("Inventory") + ": " + title,
- "columns" : [],
+ "columns" : [ column ],
"cmp" : lambda a, b: sortfunc(a.get(column), b.get(column))
}