Changes between Initial Version and Version 1 of Ticket #26372, comment 4
- Timestamp:
- Mar 18, 2016, 12:09:37 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #26372, comment 4
initial v1 24 24 }}} 25 25 26 This fails, because instead of ordering by `book s_count` it orders by `books` (which also results in the query getting the `GROUP BY` clause wrong, and getting an entry for every book, not every author).26 This fails, because instead of ordering by `book_count` it orders by `books` (which also results in the query getting the `GROUP BY` clause wrong, and getting an entry for every book, not every author). 27 27 28 28 Of course there's an easy fix - just rename the `books` `list_display` item to `book_count`, but the behavior here is definitely more than a little surprising, especially since if I'm not looking to order this field, it just works fine shadowing `books`.