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

git at icinga.org git at icinga.org
Thu Oct 8 12:02:10 CEST 2009


Module: icinga-api
Branch: master
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