Changes between Initial Version and Version 2 of Ticket #34378
- Timestamp:
- Mar 2, 2023, 1:10:22 AM (21 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #34378 – Description
initial v2 29 29 A user with id 2693 has several locations that differ in the date_create. The most recent is with a time of **15:17**. When sorting queryset by “-date_create” I want to get the most recent record. Therefore, the sorting is reset when passing the id_list parameter. 30 30 31 In my opinion, the sorting from queryset was removed before it waspossible to pass different field_name to the in_bulk() method. Apparently, it was not taken into account that when sorting is reset, the result obtained when using DISTINCT changes.31 In my opinion, the sorting from queryset was removed before it became possible to pass different field_name to the in_bulk() method. Apparently, it was not taken into account that when sorting is reset, the result obtained when using DISTINCT changes. 32 32 33 33 [https://forum.djangoproject.com/t/using-in-bulk/19192]