Changes between Initial Version and Version 1 of Ticket #31657, comment 2
- Timestamp:
- Jun 3, 2020, 7:46:20 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #31657, comment 2
initial v1 2 2 3 3 - `order_by('record__root_id')` should result in `ORDER BY root_id` 4 - `order_by('record__root')` should use the `Meta.ordering` in `ORDER BY root_join.id DESC` [https://docs.djangoproject.com/en/3.0/ref/models/querysets/#django.db.models.query.QuerySet.order_by as documented]4 - `order_by('record__root')` should use `OneModel.Meta.ordering` in `ORDER BY root_join.id DESC` [https://docs.djangoproject.com/en/3.0/ref/models/querysets/#django.db.models.query.QuerySet.order_by as documented] 5 5 - `order_by('record__root__id')` should result in `ORDER BY root_join.id`