Bug #8013
manager: sorting of role tables by their name does not work anymore
Start date:
03 August 2015
Due date:
% Done:
100%
Estimated time:
Patch proposed:
No
Planning:
Description
The accessor used by the LinkColumn is __unicode__
which does not allow to infer the field for sorting, it should be changed for name
.
Associated revisions
History
Updated by Benjamin Dauvergne over 7 years ago
- Status changed from Nouveau to Résolu (à déployer)
- % Done changed from 0 to 100
Appliqué par commit authentic2|6e2b499dc7c428ab09186d65fb2ac2ae2df02d28.
Updated by Benjamin Dauvergne almost 7 years ago
- Status changed from Résolu (à déployer) to Solution déployée
manager: change accessor of name LinkColumn of role tables (fixes #8013)
Using `name` instead of `__unicode__` helps django-tables2 into infering
the sorting field for this column.