IcingaCommandArgumentTable: show arguments sorted

This commit is contained in:
Thomas Gelf 2016-08-25 20:49:56 +00:00
parent 9750d4f637
commit 7323f73327
1 changed files with 2 additions and 1 deletions

View File

@ -19,6 +19,7 @@ class IcingaCommandArgumentTable extends QuickTable
if ($this->connection === null) {
$this->setConnection($command->getConnection());
}
return $this;
}
@ -63,7 +64,7 @@ class IcingaCommandArgumentTable extends QuickTable
array('c' => 'icinga_command'),
'ca.command_id = c.id',
array()
);
)->order('ca.sort_order')->order('ca.argument_name');
return $query;
}