Changes between Version 6 and Version 7 of Ticket #26211
- Timestamp:
- Feb 12, 2016, 9:34:46 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #26211 – Description
v6 v7 25 25 SELECT "prefetch_child"."id", "prefetch_child"."saved_dt", "prefetch_child"."parent_id" FROM "prefetch_child" WHERE "prefetch_child"."parent_id" = 2 ORDER BY "prefetch_child"."saved_dt" ASC LIMIT 21; args=(2,) 26 26 }}} 27 28 I would hope that the second call to `children.order_by('saved_dt')` can return self since the queryset is already sorted by the desired key.