Module: check_mk
Branch: master
Commit: ea2f58a6fc228fad9a20ecf21fa35e8666a0eac5
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ea2f58a6fc228f…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Wed Dec 14 14:21:58 2011 +0100
Multisite: Fixed sorting of events
---
web/plugins/views/builtin.py | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/web/plugins/views/builtin.py b/web/plugins/views/builtin.py
index 818ff24..411fd40 100644
--- a/web/plugins/views/builtin.py
+++ b/web/plugins/views/builtin.py
@@ -1588,7 +1588,7 @@ multisite_builtin_views.update({
'logtime',
'log_plugin_output',
'log_state',],
- 'sorters': [('log_time', True), ('log_lineno',
True)],
+ 'sorters': [('log_time', False), ('log_lineno',
False)],
'title': _('Host- and Service events'),
'topic': _('Other')},
@@ -1623,7 +1623,7 @@ multisite_builtin_views.update({
'play_sounds': False,
'public': True,
'show_filters': ['logtime'],
- 'sorters': [('log_time', True), ('log_lineno',
True)],
+ 'sorters': [('log_time', False), ('log_lineno',
False)],
'title': _('Events of host')},
'svcevents': {'browser_reload': 0,
'column_headers': 'pergroup',
@@ -1654,7 +1654,7 @@ multisite_builtin_views.update({
'play_sounds': False,
'public': True,
'show_filters': ['logtime'],
- 'sorters': [('log_time', True), ('log_lineno',
True)],
+ 'sorters': [('log_time', False), ('log_lineno',
False)],
'title': _('Events of service')},
'hostsvcevents': {'browser_reload': 0,
'column_headers': 'pergroup',
@@ -1679,7 +1679,7 @@ multisite_builtin_views.update({
'painters': [('log_icon', None),
('log_time', None),
('log_type', None),
- ('host', 'hostsvcevents'),
+ ('host', None),
('service_description', 'svcevents'),
('log_state_type', None),
('log_plugin_output', None),
@@ -1687,7 +1687,7 @@ multisite_builtin_views.update({
'play_sounds': False,
'public': True,
'show_filters': ['logtime', 'log_state'],
- 'sorters': [('log_time', True), ('log_lineno',
True)],
+ 'sorters': [('log_time', False), ('log_lineno',
False)],
'title': _('Events of host & services')},
'logfile': {'browser_reload': 0,
'column_headers': 'off',
@@ -1740,7 +1740,7 @@ multisite_builtin_views.update({
'opthostgroup',
'logtime',
'log_state'],
- 'sorters': [('log_time', True), ('log_lineno',
True)],
+ 'sorters': [('log_time', False), ('log_lineno',
False)],
'title': _('Search Global Logfile'),
'topic': _('Other')},
@@ -2515,7 +2515,7 @@ multisite_builtin_views.update({
'show_filters': ['serviceregex',
'log_plugin_output',
'logtime'],
- 'sorters': [('log_time', True),
('log_lineno', True)],
+ 'sorters': [('log_time', False),
('log_lineno', False)],
'title': _('Notifications of host'),
'topic': _('Other')},
'hostsvcnotifications': {'browser_reload': 0,
@@ -2562,7 +2562,7 @@ multisite_builtin_views.update({
'show_filters': ['serviceregex',
'log_plugin_output',
'logtime'],
- 'sorters': [('log_time', True),
('log_lineno', True)],
+ 'sorters': [('log_time', False),
('log_lineno', False)],
'title': _('Notifications of host &
services'),
'topic': _('Other')},
'notifications': {'browser_reload': 0,
@@ -2611,7 +2611,7 @@ multisite_builtin_views.update({
'serviceregex',
'log_plugin_output',
'logtime'],
- 'sorters': [('log_time', True), ('log_lineno',
True)],
+ 'sorters': [('log_time', False),
('log_lineno', False)],
'title': _('Host- and Service notifications'),
'topic': _('Other')},
'svcnotifications': {'browser_reload': 0,
@@ -2651,7 +2651,7 @@ multisite_builtin_views.update({
'play_sounds': False,
'public': True,
'show_filters': ['log_plugin_output',
'logtime'],
- 'sorters': [('log_time', True),
('log_lineno', True)],
+ 'sorters': [('log_time', False),
('log_lineno', False)],
'title': _('Service Notifications'),
'topic': _('Other')},
'contactnotifications': {'browser_reload': 0,
@@ -2699,7 +2699,7 @@ multisite_builtin_views.update({
'serviceregex',
'log_plugin_output',
'logtime'],
- 'sorters': [('log_time', True),
('log_lineno', True)],
+ 'sorters': [('log_time', False),
('log_lineno', False)],
'title': _('Notifications of contact'),
'topic': _('Other')},
})