-
-
Notifications
You must be signed in to change notification settings - Fork 198
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
Pagination doesn't work properly with with sorting #64
Comments
Which database client are you using? For example: |
PostgreSQL. |
Works great with Mysql and other clients except Postgres. I will push a patch for the same soon. |
Awesome |
thetutlage
added a commit
that referenced
this issue
Jul 16, 2017
order by is not required when getting records total inside paginate method, making sure to filter the orderby clause from the cloned query Closes #64
I have the same error using SQL Server database. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The built in pagination method for a Lucid model doesn't work properly when someone try to use it with orderBy.
Example:
Exception:
This problem doesn't happen with other method forPage().
The text was updated successfully, but these errors were encountered: