IcingaCommandArgumentTable: show arguments sorted
This commit is contained in:
parent
9750d4f637
commit
7323f73327
|
@ -19,6 +19,7 @@ class IcingaCommandArgumentTable extends QuickTable
|
||||||
if ($this->connection === null) {
|
if ($this->connection === null) {
|
||||||
$this->setConnection($command->getConnection());
|
$this->setConnection($command->getConnection());
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -63,7 +64,7 @@ class IcingaCommandArgumentTable extends QuickTable
|
||||||
array('c' => 'icinga_command'),
|
array('c' => 'icinga_command'),
|
||||||
'ca.command_id = c.id',
|
'ca.command_id = c.id',
|
||||||
array()
|
array()
|
||||||
);
|
)->order('ca.sort_order')->order('ca.argument_name');
|
||||||
|
|
||||||
return $query;
|
return $query;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue