Changes between Initial Version and Version 1 of Ticket #26372, comment 4


Ignore:
Timestamp:
Mar 18, 2016, 12:09:37 PM (8 years ago)
Author:
Julian Andrews

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26372, comment 4

    initial v1  
    2424}}}
    2525
    26 This fails, because instead of ordering by `books_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).
     26This 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).
    2727
    2828Of 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`.
Back to Top