[checkmk-commits] Check_MK Git: check_mk: #2011 FIX "Service Group" view sorts/

Lars Michelsen lm at mathias-kettner.de
Fri Feb 20 14:14:07 CET 2015


 groups the services now correctly by host
Message-ID: <54e7331f.xEK8leXuFBIUqCbO%lm at mathias-kettner.de>
User-Agent: Heirloom mailx 12.5 6/20/10
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Module: check_mk
Branch: master
Commit: 7a43d17802ed647c5d56d6f6c400bbbae144ee71
URL:    http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7a43d17802ed647c5d56d6f6c400bbbae144ee71

Author: Lars Michelsen <lm at mathias-kettner.de>
Date:   Fri Feb 20 14:14:00 2015 +0100

#2011 FIX "Service Group" view sorts/groups the services now correctly by host

---

 .werks/2011                  |   10 ++++++++++
 ChangeLog                    |    1 +
 web/plugins/views/builtin.py |    4 +++-
 3 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/.werks/2011 b/.werks/2011
new file mode 100644
index 0000000..76d2047
--- /dev/null
+++ b/.werks/2011
@@ -0,0 +1,10 @@
+Title: "Service Group" view sorts/groups the services now correctly by host
+Level: 1
+Component: multisite
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.7i1
+Date: 1424438003
+
+
diff --git a/ChangeLog b/ChangeLog
index e0aa925..eff8003 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -216,6 +216,7 @@
     * 1985 FIX: PNP graph dashlet handles graphs in distributed setups correctly...
     * 1945 FIX: doc/treasures/downtime script: was no longer working because of latest changes in the GUI...
     * 2008 FIX: Users created during basic auth login get the role assigned configured in "default user profile"...
+    * 2011 FIX: "Service Group" view sorts/groups the services now correctly by host
 
     WATO:
     * 1760 Added search form to manual checks page
diff --git a/web/plugins/views/builtin.py b/web/plugins/views/builtin.py
index a424916..69b32a2 100644
--- a/web/plugins/views/builtin.py
+++ b/web/plugins/views/builtin.py
@@ -1343,7 +1343,9 @@ multisite_builtin_views.update({
                   'play_sounds': False,
                   'public': True,
                   'show_filters': [],
-                  'sorters': [],
+                  'sorters': [('site', False),
+                              ('site_host', False),
+                              ('svcdescr', False)],
                   'title': _('Service Group'),
                   'topic': _('Other')},
  'sitehosts': {'browser_reload': 30,



More information about the checkmk-commits mailing list