mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-09-26 11:19:16 +02:00
IcingaObjectDatafieldTable: retain URL
This commit is contained in:
parent
fb899e3172
commit
5260d4285e
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user