[icinga-checkins] icinga.org: icingaweb2-module-director/master: IcingaHostAppliedServicesTable: switch parameters

git at icinga.org git at icinga.org
Mon Jan 2 10:52:28 CET 2017


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

Author: Thomas Gelf <thomas at gelf.net>
Date:   Mon Jan  2 10:51:29 2017 +0100

IcingaHostAppliedServicesTable: switch parameters

---

 application/tables/IcingaHostAppliedServicesTable.php |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/application/tables/IcingaHostAppliedServicesTable.php b/application/tables/IcingaHostAppliedServicesTable.php
index 432945e..379245e 100644
--- a/application/tables/IcingaHostAppliedServicesTable.php
+++ b/application/tables/IcingaHostAppliedServicesTable.php
@@ -55,8 +55,8 @@ class IcingaHostAppliedServicesTable extends QuickTable
     protected function getActionUrl($row)
     {
         $params = array(
-            'name' => $this->host->object_name,
-            'id'   => $row->id,
+            'name'       => $this->host->object_name,
+            'service_id' => $row->id,
         );
 
         return $this->url('director/host/appliedservice', $params);



More information about the icinga-checkins mailing list