Pagination page 1 problem
montabou opened this issue · comments
On list view if I go to page 2 everything is OK but if I try to go back to page 1 it stays on page 2.
The link is ?page=2
for page 2 but the parameter is empty for page 1.
I don't know if the problem is here
if ($this->request->query->get('page')) {
$this->setPage($this->request->query->get('page'));
} else {
$this->setPage(1);
}
Oups sorry, using PagerfantaBundle 1.0.6 works. Thx