[icinga-checkins] icinga.org: icinga-api/cdoebler/default: * fixed default order for host-parents

Christian Doebler christian.doebler at netways.de
Mon Oct 5 12:03:56 CEST 2009


Module: icinga-api
Branch: cdoebler/default
Commit: 966e08760952567cb2bcdec99a0042a1820e6f78
URL:    https://git.icinga.org/?p=icinga-api.git;a=commit;h=966e08760952567cb2bcdec99a0042a1820e6f78

Author: Christian Doebler <christian.doebler at netways.de>
Date:   Mon Oct  5 12:03:22 2009 +0200

* fixed default order for host-parents

---

 objects/search/IcingaApiSearchIdo.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/objects/search/IcingaApiSearchIdo.php b/objects/search/IcingaApiSearchIdo.php
index 5ef7b26..ea63778 100644
--- a/objects/search/IcingaApiSearchIdo.php
+++ b/objects/search/IcingaApiSearchIdo.php
@@ -235,7 +235,7 @@ class IcingaApiSearchIdo
 				and ohp.objecttype_id = 1
 				${FILTER}
 				${GROUPBY}
-				${ORDERBY:parent_name asc, child_name asc}
+				${ORDERBY:host_parent_name asc, host_child_name asc}
 				${LIMIT}',
 	);
 





More information about the icinga-checkins mailing list