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

BUGFIX: Fix count for query across OneToMany joins #3345

Open
wants to merge 1 commit into
base: 8.3
Choose a base branch
from
Open

Conversation

tvt
Copy link
Contributor

@tvt tvt commented Apr 23, 2024

The Query->count now returns the correct count when a criterion is added on a OneToMany relation.

Review instructions

The problem is described in details in #3331. Same as PR #3342, but this time against the correct branch.

Checklist

  • Code follows the PSR-2 coding style
  • Tests have been created, run and adjusted as needed
  • The PR is created against the lowest maintained branch
  • Reviewer - PR Title is brief but complete and starts with FEATURE|TASK|BUGFIX
  • Reviewer - The first section explains the change briefly for change-logs
  • Reviewer - Breaking Changes are marked with !!! and have upgrade-instructions

The Query->count now returns the correct count when a criterion
is added on a OneToMany relation.
Copy link
Member

@kdambekalns kdambekalns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 by 👀 – unless @Sebobo vetoes this. For me this looks reasonable.

@tvt
Copy link
Contributor Author

tvt commented Apr 25, 2024

Did you get around to testing it @Sebobo?

Copy link
Member

@Sebobo Sebobo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me, thx!

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

Successfully merging this pull request may close these issues.

None yet

3 participants