Skip to content
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

[5.1] Fix getCountForPagination backup/restore bindings. #9679

Merged
merged 1 commit into from
Jul 30, 2015

Conversation

dtaub
Copy link
Contributor

@dtaub dtaub commented Jul 18, 2015

This is almost exactly the same issue as #9307, just elsewhere in the Query Builder. getCountForPagination() would remove the select and order clauses without removing their associated bindings, which led to issues with paginating queries with sub-selects.

taylorotwell added a commit that referenced this pull request Jul 30, 2015
[5.1] Fix getCountForPagination backup/restore bindings.
@taylorotwell taylorotwell merged commit 4c48912 into laravel:5.1 Jul 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants