[PR #7850] Don't merge PersistentCollection orderBy with criteria in matching() #10672

Closed
opened 2026-01-22 16:08:19 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/7850

State: closed
Merged: Yes


If no orderings are given to PersistentCollection::matching(), the
orderBy annotation will be used if present. If the criteria contains
orderings, those will be used without merging them with the orderBy.

See #7836

**Original Pull Request:** https://github.com/doctrine/orm/pull/7850 **State:** closed **Merged:** Yes --- If no orderings are given to PersistentCollection::matching(), the orderBy annotation will be used if present. If the criteria contains orderings, those will be used without merging them with the orderBy. See #7836
admin added the pull-request label 2026-01-22 16:08:19 +01:00
admin closed this issue 2026-01-22 16:08:19 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#10672