diff options
author | diosmosis <benakamoorthi@fastmail.fm> | 2013-10-23 02:39:59 +0400 |
---|---|---|
committer | diosmosis <benakamoorthi@fastmail.fm> | 2013-10-23 02:40:12 +0400 |
commit | 3a21a768b3de85a3efc73098db5118e875b49cff (patch) | |
tree | 5aa1e685b54a8ac4ff287343aa1b9af11c7ff51d /core/DataTable/Filter/ReplaceSummaryRowLabel.php | |
parent | ad1e01757ebb3c44caec98117b75e6f7179ff198 (diff) |
Tweaking some docs, fixing build, fixing a MultiSites css issue and fixing regression in recent DataTable filter cleanup.
Diffstat (limited to 'core/DataTable/Filter/ReplaceSummaryRowLabel.php')
-rw-r--r-- | core/DataTable/Filter/ReplaceSummaryRowLabel.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/DataTable/Filter/ReplaceSummaryRowLabel.php b/core/DataTable/Filter/ReplaceSummaryRowLabel.php index 78ae63226a..4d2b7ceb03 100644 --- a/core/DataTable/Filter/ReplaceSummaryRowLabel.php +++ b/core/DataTable/Filter/ReplaceSummaryRowLabel.php @@ -58,8 +58,10 @@ class ReplaceSummaryRowLabel extends Filter public function filter($table) { $rows = $table->getRows(); - foreach ($rows as $row) { - if ($row->getColumn('label') == DataTable::LABEL_SUMMARY_ROW) { + foreach ($rows as $id => $row) { + if ($row->getColumn('label') == DataTable::LABEL_SUMMARY_ROW + || $id == DataTable::ID_SUMMARY_ROW + ) { $row->setColumn('label', $this->newLabel); break; } |