whiteoctober/Pagerfanta — pull request #30 by crackcomm (2011-10-18 15:30:57+00:00)
Title: Remove JOIN from DoctrineORMAdapter::getNbResults()

It doesn't affect results but it's much faster. I'm not sure that regex is good (for all cases) but it's working for me.