Module: check_mk
Branch: master
Commit: eef613c787977e77e9054ad252dd249e8795bf10
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=eef613c787977e…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Nov 7 14:21:42 2014 +0100
Fixed problem with tables which are sortable, but not searchable
---
web/htdocs/table.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/htdocs/table.py b/web/htdocs/table.py
index c0192e2..aef3a6d 100644
--- a/web/htdocs/table.py
+++ b/web/htdocs/table.py
@@ -322,7 +322,7 @@ def end():
html.write("</td>\n")
html.write("</tr>\n")
- if actions_enabled and search_term and not rows and not do_csv:
+ if table["searchable"] and search_term and not rows and not do_csv:
html.write('<tr class="data odd0 no_match"><td
colspan=%d>%s</td></tr>' %
(num_cols, _('Found no matching rows. Please try another search
term.')))