Skip to content

Fix crash when using groupBy with table qualifier#1928

Merged
ricardograca merged 1 commit into
masterfrom
rg-fix-pagination-groupby
Dec 17, 2018
Merged

Fix crash when using groupBy with table qualifier#1928
ricardograca merged 1 commit into
masterfrom
rg-fix-pagination-groupby

Conversation

@ricardograca
Copy link
Copy Markdown
Member

Introduction

This fixes a bug that creates an incorrect query when using groupBy with the pagination plugin. The issue is only in the row count part of fetchPage.

Motivation

Fixes #1925.

Proposed solution

The solution is taken straight out of the linked issue. All tests pass and a new one was added to ensure this isn't re-introduced again in the future.

@ricardograca ricardograca merged commit 62371cc into master Dec 17, 2018
@ricardograca ricardograca deleted the rg-fix-pagination-groupby branch December 17, 2018 22:32
@ricardograca
Copy link
Copy Markdown
Member Author

Fix released in 0.14.2.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Issue in fetching count via fetchPage when groupBy is used in query builder

1 participant