Skip to content

Commit

Permalink
load data in getRowCount before rows are count
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Maier authored and sebastianbergmann committed Apr 29, 2018
1 parent f8273ba commit 54a8a53
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/DataSet/TableFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ public function getRow($row)
*/
public function getRowCount()
{
return $this->originalTable->getRowCount();
$this->loadData();
return parent::getRowCount();
}

/**
Expand Down

0 comments on commit 54a8a53

Please sign in to comment.