diff options
author | Ben Burgess <88810029+bx80@users.noreply.github.com> | 2021-12-15 17:28:21 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-15 17:28:21 +0300 |
commit | c24a82bb4352c57875840148d617aa2724d1583b (patch) | |
tree | 7b92f7e1c1a36f40432626af179c4f8f1f6fae11 | |
parent | 80065825c356316978dda26d917f3f31a24c92e3 (diff) |
Fix for datatable row sum error (#18500)
* Prevent any attempt to sum ts_archived metadata values
* Add ts_archived as an unsummable column
-rw-r--r-- | core/DataTable/Row.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/DataTable/Row.php b/core/DataTable/Row.php index bfa1a49667..7c702ea7b8 100644 --- a/core/DataTable/Row.php +++ b/core/DataTable/Row.php @@ -36,7 +36,8 @@ class Row extends \ArrayObject */ private static $unsummableColumns = array( 'label' => true, - 'full_url' => true // column used w/ old Piwik versions, + 'full_url' => true, // column used w/ old Piwik versions, + 'ts_archived' => true // date column used in metadata for proportional tooltips ); // @see sumRow - implementation detail |