[icinga-checkins] icinga.org: icingaweb2-module-director/master: IcingaHostServiceTable: sort host services by name

git at icinga.org git at icinga.org
Tue Oct 11 16:42:04 CEST 2016


Module: icingaweb2-module-director
Branch: master
Commit: fe332897be84fdfec8eb46dd81f1a9c728fb0805
URL:    https://git.icinga.org/?p=icingaweb2-module-director.git;a=commit;h=fe332897be84fdfec8eb46dd81f1a9c728fb0805

Author: Thomas Gelf <thomas at gelf.net>
Date:   Tue Oct 11 14:41:25 2016 +0000

IcingaHostServiceTable: sort host services by name

fixes #12752

---

 application/tables/IcingaHostServiceTable.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/application/tables/IcingaHostServiceTable.php b/application/tables/IcingaHostServiceTable.php
index 7432fb6..545aa0c 100644
--- a/application/tables/IcingaHostServiceTable.php
+++ b/application/tables/IcingaHostServiceTable.php
@@ -88,7 +88,7 @@ class IcingaHostServiceTable extends QuickTable
             array('h' => 'icinga_host'),
             'h.id = s.host_id',
             array()
-        );
+        )->order('s.object_name');
 
         return $query;
     }



More information about the icinga-checkins mailing list