Module: check_mk
Branch: master
Commit: 7304fa78ff0635b19acde14cf368218711be723e
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7304fa78ff0635…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Apr 1 08:23:03 2016 +0200
FilterInvtableAge: Fixed broken function call
---
web/plugins/visuals/inventory.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/web/plugins/visuals/inventory.py b/web/plugins/visuals/inventory.py
index 5d73945..3b79d02 100644
--- a/web/plugins/visuals/inventory.py
+++ b/web/plugins/visuals/inventory.py
@@ -80,11 +80,14 @@ class FilterInvtableAge(Filter):
Age(display=["days"]).render_input(self.name + "_to", 0)
html.write("</tr></table>")
+
def double_height(self):
return True
+
def filter_table(self, rows):
- return self.filter_table_with_conversion(self, rows, lambda age: age)
+ return self.filter_table_with_conversion(rows, lambda age: age)
+
def filter_table_with_conversion(self, rows, conv):
from_value = Age().from_html_vars(self.name + "_from")