Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattpiwik <matthieu.aubry@gmail.com>2009-04-07 02:12:25 +0400
committermattpiwik <matthieu.aubry@gmail.com>2009-04-07 02:12:25 +0400
commit2d5d9719394ea8bd6858a326abf190ee57bbedfd (patch)
tree4d5cfee4fafab88557a7c096c4d5559abe21721d /core/DataTable/Filter/AddSummaryRow.php
parentf09495d5d70edd87a159faa07487b88aa9506bff (diff)
Filters are now applied by
$table->filter('Limit', array(2,2)); rather than $table->filter('Piwik_DataTable_Filter_Limit', array(2,2)); old way still works though git-svn-id: http://dev.piwik.org/svn/trunk@1049 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/DataTable/Filter/AddSummaryRow.php')
-rw-r--r--core/DataTable/Filter/AddSummaryRow.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/DataTable/Filter/AddSummaryRow.php b/core/DataTable/Filter/AddSummaryRow.php
index 073cf02b2b..d569505a74 100644
--- a/core/DataTable/Filter/AddSummaryRow.php
+++ b/core/DataTable/Filter/AddSummaryRow.php
@@ -45,7 +45,7 @@ class Piwik_DataTable_Filter_AddSummaryRow extends Piwik_DataTable_Filter
protected function filter()
{
- $this->table->filter('Piwik_DataTable_Filter_Sort',
+ $this->table->filter('Sort',
array( $this->columnToSortByBeforeTruncating, 'desc'));
$rows = $this->table->getRows();
@@ -66,7 +66,7 @@ class Piwik_DataTable_Filter_AddSummaryRow extends Piwik_DataTable_Filter
}
$newRow->setColumns(array('label' => $this->labelSummaryRow) + $newRow->getColumns());
- $this->table->filter('Piwik_DataTable_Filter_Limit', array(0, $this->startRowToSummarize));
+ $this->table->filter('Limit', array(0, $this->startRowToSummarize));
$this->table->addSummaryRow($newRow);
}
}