Module: check_mk
Branch: master
Commit: d210fb1b338edda2a658a8b0eb53ee598ccb7f42
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d210fb1b338edd…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri May 31 14:38:06 2013 +0200
View "service globally": make sortable by user
---
web/plugins/views/builtin.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/web/plugins/views/builtin.py b/web/plugins/views/builtin.py
index c9bac8d..f79b098 100644
--- a/web/plugins/views/builtin.py
+++ b/web/plugins/views/builtin.py
@@ -1123,10 +1123,10 @@ multisite_builtin_views.update({
'linktitle': _('Details'),
'title': _('Service')},
'servicedesc': {'browser_reload': 30,
- 'column_headers': 'off',
+ 'column_headers': 'pergroup',
'datasource': 'services',
'description': 'All Services with\r\na certain
description\r\n',
- 'group_painters': [('service_description',
'servicedesc')],
+ 'group_painters': [],
'hard_filters': [],
'hard_filtervars': [('host', ''),
('st0', 'on'),
@@ -1151,6 +1151,7 @@ multisite_builtin_views.update({
'show_filters': ['hostregex', 'svcstate',
'opthostgroup'],
'sorters': [('site', False),
('site_host', False)],
+ 'user_sortable' : 'on',
'linktitle': _('Service globally'),
'title': _('All Services with this description:')},
'servicedescpnp': {'browser_reload': 90,