-
Notifications
You must be signed in to change notification settings - Fork 341
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
Sorting doesn't work after Doctrine update #277
Comments
Same here. Paging works, but sorting does not. After downgrading knp-components sorting works again: |
I've got the same problem, i downgraded to : The default sorting works in the twig but don't update the query with the asked default order : $pagination = $knpPaginator->paginate( |
Weirdly enough after upgrading Symfony to 2.4 (from 2.3) seems to fix the issue, it now works with |
Solution for symfony 2.3 |
Hi, I am new and facing same issue, I even do not know how to downgrade knplabs/knp-components or knplabs/knp-paginator-bundle. Some one please help me? |
For Symfony 2.3. Edit composer.json. Run 'composer update'. |
Thanks @felixq |
Hi. I am using Symfony 2.5.5 with : Sorting DOES NOT work and also pagination works but styling is wrong (see atached image) |
I faced issue with multiple join queries and I have downgraded my On Thu, Dec 18, 2014 at 9:39 PM, zsimaiof notifications@github.com wrote:
Saurabh Gupta |* Hare Krishna* |
@sgupta07 Thank you !!! sorting now works fine. |
you can extend paginator view "Resources/views/Pagination/sliding.html.twig" On Fri, Dec 19, 2014 at 6:35 PM, zsimaiof notifications@github.com wrote:
Saurabh Gupta |* Hare Krishna* |
Ähhm I went in the same problem and lost a hole day going crazy. Can this not be fixed by the developers. I mean, that the bundle does, what is it build for.. is essential in my opinion. |
Since Symfony 2.3 is not supported anymore and it work for superiors versions I'm closing. Feel free to open an other issue if the issue appear again. |
After updating Doctrine ORM to 2.4.6, result sorting stopped working (with the newest version of KnpPaginatorBundle). Query parameters are properly intercepted and
isSorted()
in Twig works as expected, it's just that order of rows returned from Doctrine is not affected by fields selected using Pagination.I reverted Doctrine to version 2.4.4 and things are working as expected again.
The text was updated successfully, but these errors were encountered: