Changes between Initial Version and Version 1 of Ticket #31150, comment 10
- Timestamp:
- Feb 20, 2020, 12:50:38 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #31150, comment 10
initial v1 3 3 In the cases where an outer query spawns a multi-valued relationship and the subquery references one of these multi-valued relationship we must keep grouping by the subquery. 4 4 5 In your original reports the `INNER JOIN "camps_bookingoption" T4` joins spawns multiple rows for the same `camps.Offer` and then your subquery filter against `(T4."position")` which5 In your original reports the `INNER JOIN "camps_bookingoption" T4` joins spawns multiple rows for the same `camps.Offer` and then your subquery filter against `(T4."position")`. 6 6 7 7 In ORM terms that means we must keep returning `self` in `Subquery.get_group_by_cols` when any of our `OuterRef` include a `__` which could point to a multi-valued relationship.