Function with `admin_order_field` only sorts in one direction, with no arrows
|Reported by:||Jeff Wheeler <jeff@…>||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
When using admin_order_field on a function, it can only be sorted in one direction (ascending), and no arrows will be displayed when sorted.
my_function.admin_order_field = 'model_field'
This will result in the column showing up correctly, and it is a link which sorts, but it does not work, as described above.
Change History (4)
Changed 7 years ago by matt <matt.barry@…>
comment:1 Changed 7 years ago by matt <matt.barry@…>
- Has patch set
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset