Module: check_mk
Branch: master
Commit: 3e5b5814c85f17e2672156f540e1d06cfd8a587f
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3e5b5814c85f17…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Nov 26 09:18:51 2014 +0100
#1533 FIX Fixed sorting of hosts with same name in "services of host" view
---
.werks/1533 | 9 +++++++++
ChangeLog | 1 +
web/plugins/views/builtin.py | 4 +++-
3 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/.werks/1533 b/.werks/1533
new file mode 100644
index 0000000..b73f342
--- /dev/null
+++ b/.werks/1533
@@ -0,0 +1,9 @@
+Title: Fixed sorting of hosts with same name in "services of host" view
+Level: 1
+Component: multisite
+Compatible: compat
+Version: 1.2.5i7
+Date: 1416989899
+Class: fix
+
+
diff --git a/ChangeLog b/ChangeLog
index 9a22256..3174235 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -67,6 +67,7 @@
* 1527 FIX: Fixed views missing values of some filters (serviceregex, hostgroup
filters, ...)...
* 1528 FIX: Fixed actions in mobile GUI...
* 1529 FIX: Mobile-GUI: Fixed "all host problems" view not showing all
problems...
+ * 1533 FIX: Fixed sorting of hosts with same name in "services of host"
view
WATO:
* 1170 Added buttons to move rules to top/bottom of the list to ruleset edit dialog
diff --git a/web/plugins/views/builtin.py b/web/plugins/views/builtin.py
index 2d44ed5..9662378 100644
--- a/web/plugins/views/builtin.py
+++ b/web/plugins/views/builtin.py
@@ -545,7 +545,9 @@ multisite_builtin_views.update({
'play_sounds': False,
'public': True,
'show_filters': ['svcstate', 'serviceregex'],
- 'sorters': [('svcdescr', False)],
+ 'sorters': [('site', False),
+ ('site_host', False),
+ ('svcdescr', False)],
'linktitle': _('Services'),
'title': _('Services of Host')},
'host_export': {'browser_reload': 30,