Skip to content

Commit

Permalink
Merge pull request #532 from jockri/fix-adminlist-dbal-pagination
Browse files Browse the repository at this point in the history
[AdminListBundle] Fix pagination issue for DBAL adminlists
  • Loading branch information
Roderik van der Veer committed Jul 8, 2015
2 parents 436aa5d + ecaf77f commit 34217ae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ public function getPagerfanta()
$this->getUseDistinctCount()
);
$this->pagerfanta = new Pagerfanta($adapter);
$this->pagerfanta->setCurrentPage($this->getPage());
$this->pagerfanta->setMaxPerPage($this->getLimit());
$this->pagerfanta->setCurrentPage($this->getPage());
}

return $this->pagerfanta;
Expand Down

0 comments on commit 34217ae

Please sign in to comment.