From 5260d4285e6b34cc08d5484fcf84a157449f39ae Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Mon, 14 Sep 2015 16:30:45 +0200 Subject: [PATCH] IcingaObjectDatafieldTable: retain URL --- application/tables/IcingaObjectDatafieldTable.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/tables/IcingaObjectDatafieldTable.php b/application/tables/IcingaObjectDatafieldTable.php index e38aa8e6..7fc656ea 100644 --- a/application/tables/IcingaObjectDatafieldTable.php +++ b/application/tables/IcingaObjectDatafieldTable.php @@ -4,6 +4,7 @@ namespace Icinga\Module\Director\Tables; use Icinga\Module\Director\Objects\IcingaObject; use Icinga\Module\Director\Web\Table\QuickTable; +use Icinga\Web\Url; class IcingaObjectDatafieldTable extends QuickTable { @@ -34,7 +35,7 @@ class IcingaObjectDatafieldTable extends QuickTable protected function getActionUrl($row) { - return $this->url('director/objectdatafield', array('id' => $row->id)); + return Url::fromRequest()->with('field_id', $row->id); } public function getTitles()