mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-05-28 04:36:06 -04:00
PivotTable: Reset columns on the base query
This commit is contained in:
parent
bf6fae2952
commit
ecf33be34c
1 changed files with 1 additions and 2 deletions
|
|
@ -104,8 +104,7 @@ class PivotTable
|
|||
$this->order[$sort[0]] = $sort[1];
|
||||
}
|
||||
|
||||
// ipl/sql branch put-reset-methods-into-the trait is required for resetOrderBy().
|
||||
$this->baseQuery = $query->setColumns($gridcols)->resetOrderBy();
|
||||
$this->baseQuery = $query->resetColumns()->setColumns($gridcols)->resetOrderBy();
|
||||
$this->xAxisColumn = $xAxisColumn;
|
||||
$this->yAxisColumn = $yAxisColumn;
|
||||
$this->gridcols = $gridcols;
|
||||
|
|
|
|||
Loading…
Reference in a new issue