Skip to content

Commit

Permalink
Initialize Datalist search when grabbing Paginator (allows getting to…
Browse files Browse the repository at this point in the history
…tal count)
  • Loading branch information
jmsche committed Aug 21, 2020
1 parent f48fc0c commit 5a6994a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG-3.x.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
3.0.1
-----

* Initialize Datalist search when grabbing Paginator (allows getting total count)

3.0.0
-----

Expand Down
2 changes: 2 additions & 0 deletions src/Datalist/Datalist.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,8 @@ public function getDatasource()
*/
public function getPaginator()
{
$this->initialize();

return $this->datasource->getPaginator();
}

Expand Down

0 comments on commit 5a6994a

Please sign in to comment.