Anssi Kääriäinen
8c72aa2379
Fixed qs.order_by() join promotion for already existing joins
...
When order_by causes new joins to be added to the query, the joins must
be LEFT OUTER joins for nullable relations, otherwise the order_by
could cause the results to be altered. This commit fixes the logic to
only promote new joins, previously all joins in the order_by lookup
path were promoted.
Thanks to Bruno Desthuilliers for spotting this corner case.
2012-05-24 18:42:06 +03:00
..
2012-04-29 11:51:12 +02:00
2012-04-30 22:10:27 +03:00
2012-05-03 16:39:16 +02:00
2012-05-12 19:58:32 +02:00
2012-05-22 23:33:42 +03:00
2012-05-19 17:43:34 +02:00
2012-05-03 16:39:16 +02:00
2012-05-19 17:43:34 +02:00
2012-04-29 20:57:15 +02:00
2012-05-18 12:12:45 +02:00
2012-05-05 14:06:36 +02:00
2012-04-24 18:03:14 +00:00
2012-05-19 17:43:34 +02:00
2012-04-30 22:10:27 +03:00
2012-05-03 16:39:16 +02:00
2012-05-19 17:43:34 +02:00
2012-05-12 22:35:21 +02:00
2012-04-11 17:49:22 +00:00
2012-04-09 00:43:08 +00:00
2012-05-19 17:43:34 +02:00
2012-05-19 17:43:34 +02:00
2012-05-05 21:41:44 +02:00
2012-05-19 17:43:34 +02:00
2012-04-30 22:10:27 +03:00
2012-05-24 13:02:19 +02:00
2012-05-19 17:43:34 +02:00
2012-05-19 17:43:34 +02:00
2012-05-19 17:43:34 +02:00
2012-04-27 06:56:31 +00:00
2012-04-30 14:30:29 +03:00
2012-05-19 17:43:34 +02:00
2012-05-03 21:31:23 +02:00
2012-05-05 21:41:44 +02:00
2012-05-19 17:43:34 +02:00
2012-04-12 20:23:41 +00:00
2012-04-29 20:57:15 +02:00
2012-04-29 20:57:15 +02:00
2012-05-22 23:16:24 +03:00
2012-05-19 17:43:34 +02:00
2012-04-20 17:34:29 +00:00
2012-04-10 12:29:25 +00:00
2012-05-24 18:42:06 +03:00
2012-05-19 17:43:34 +02:00
2012-04-10 12:29:25 +00:00
2012-05-10 20:15:49 +02:00
2012-05-17 11:10:48 +02:00
2012-05-03 16:39:16 +02:00
2012-05-19 17:43:34 +02:00
2012-04-30 22:10:27 +03:00
2012-05-19 17:43:34 +02:00
2012-05-19 17:43:34 +02:00
2012-05-19 17:43:34 +02:00
2012-05-19 17:43:34 +02:00
2012-05-22 23:51:05 +03:00
2012-04-29 19:58:00 +02:00
2012-04-29 20:57:15 +02:00
2012-05-03 21:31:23 +02:00
2012-04-29 13:40:10 +02:00
2012-05-19 17:43:34 +02:00