New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AdminListBundle] Fixed the exception when you delete the only item of a page #196 #206

Merged
merged 2 commits into from Mar 17, 2015

Conversation

Projects
None yet
3 participants
@woutervandamme
Copy link
Contributor

woutervandamme commented Mar 17, 2015

fixed the bug when deleting the first item of a list shows exception (adminListBundle)

KUNSTMAAN
@@ -101,6 +101,7 @@ public function getPagerfanta()
if (is_null($this->pagerfanta)) {
$adapter = new DoctrineORMAdapter($this->getQuery());
$this->pagerfanta = new Pagerfanta($adapter);
$this->pagerfante->setNormalizeOutOfRangePages(true);

This comment has been minimized.

@krispypen

krispypen Mar 17, 2015

Member

typo? :) e => a

krispypen added a commit that referenced this pull request Mar 17, 2015

Merge pull request #206 from woutervandamme/bug-fix/adminListBundle
bugfix for #196, White page when you delete the only item of a page (not...

@krispypen krispypen merged commit 929c862 into Kunstmaan:master Mar 17, 2015

1 of 2 checks passed

Scrutinizer Errored
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@roderik roderik changed the title bugfix for #196, White page when you delete the only item of a page (not... [AdminListBundle] Fixed the exception when you delete the only item of a page #196 Apr 8, 2015

@roderik roderik modified the milestones: 3.1.0, 3.0.2 Apr 10, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment