Module: check_mk
Branch: master
Commit: 15f1ea85ded7bc50a3ddc8e5882dc2600e0f5925
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=15f1ea85ded7bc…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Wed Oct 28 16:16:17 2015 +0100
Better warning in case of query limit
---
web/htdocs/html_mod_python.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/web/htdocs/html_mod_python.py b/web/htdocs/html_mod_python.py
index ccbf5e2..1cd3406 100644
--- a/web/htdocs/html_mod_python.py
+++ b/web/htdocs/html_mod_python.py
@@ -246,6 +246,7 @@ class html_mod_python(htmllib.html):
elif self.var("limit") == "hard" and
config.may("general.ignore_hard_limit"):
text += '<a href="%s">%s</a>' % \
(self.makeuri([("limit", "none")]),
_('Repeat query without limit.'))
+ text += " " + _("<b>Note:</b> the shown results
are incomplete do not reflect the sort order.")
self.show_warning(text)
del rows[limit:]
return False