Bug #8013
manager: sorting of role tables by their name does not work anymore
Début:
03 août 2015
Echéance:
% réalisé:
100%
Temps estimé:
Patch proposed:
Non
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
.
Révisions associées
Historique
Mis à jour par Benjamin Dauvergne il y a plus de 8 ans
- Statut changé de Nouveau à Résolu (à déployer)
- % réalisé changé de 0 à 100
Appliqué par commit authentic2|6e2b499dc7c428ab09186d65fb2ac2ae2df02d28.
Mis à jour par Benjamin Dauvergne il y a environ 8 ans
- Statut changé de Résolu (à déployer) à Solution déployée
Mis à jour par Benjamin Dauvergne il y a plus de 6 ans
- Statut changé de Solution déployée à Fermé
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.