Livestatus\Query: use calculated column headers

This commit is contained in:
Thomas Gelf 2014-11-16 18:03:58 +01:00
parent d368df8211
commit 195375f055
1 changed files with 4 additions and 0 deletions

View File

@ -170,6 +170,10 @@ class Query extends SimpleQuery
public function getColumnAliases()
{
$this->columnsToString();
return $this->preparedHeaders;
// TODO: Remove once no longer needed:
$aliases = array();
$hasCustom = false;
foreach ($this->getColumns() as $key => $val) {