diff options
Diffstat (limited to 'core/DataTable.php')
-rw-r--r-- | core/DataTable.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/DataTable.php b/core/DataTable.php index f7f6cd824f..9065afcef8 100644 --- a/core/DataTable.php +++ b/core/DataTable.php @@ -672,6 +672,12 @@ class DataTable implements DataTableInterface, \IteratorAggregate, \ArrayAccess ) { return $this->summaryRow; } + if (empty($rowId) + && !empty($this->totalsRow) + && $label == $this->totalsRow->getColumn('label') + ) { + return $this->totalsRow; + } if ($rowId instanceof Row) { return $rowId; } |