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

Add getTotalCount() tests for sorting parameters (7.3.x backport) #1760

Merged
merged 2 commits into from
Oct 6, 2023

Conversation

darxriggs
Copy link
Contributor

These are the same changes as in PR #1758 backported to the 7.3.x branch.

This is for consistency with the test for the criteria.
This is to check that a getTotalCount() implementation should not
have sorting in the generated query. Otherwise, depending on the
database and its strictness configuration, the query might fail.
@puneetbehl puneetbehl merged commit f5a4dbd into grails:7.3.x Oct 6, 2023
3 checks passed
@darxriggs darxriggs deleted the getTotalCount-and-sorting branch October 6, 2023 17:31
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.

2 participants