Development #9414
search criteria not taken in account on users export
Début:
21 décembre 2015
Echéance:
% réalisé:
100%
Temps estimé:
Patch proposed:
Oui
Planning:
Description
On users page, when filling up the search field only users matching text are shown. However when clicking on "export CSV", "ODS" etc, the criteria is not taken on account.
Fichiers
Révisions associées
Historique
Mis à jour par Benjamin Dauvergne il y a plus de 5 ans
C'est parce que authentic2.manager.views.SearchFormMixin filtre la valeur de get_table_data() et non pas cell de get_queryset(), mais je ne sais pas encore pourquoi et si c'est justifié.
Mis à jour par Benjamin Dauvergne il y a plus de 5 ans
- Fichier 0001-manager-use-get_table_data-to-get-queryset-in-Export.patch 0001-manager-use-get_table_data-to-get-queryset-in-Export.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
La correction est courte, mais faut voir l'impact.
Mis à jour par Serghei Mihai il y a environ 5 ans
- Statut changé de Solution proposée à Solution validée
Mis à jour par Benjamin Dauvergne il y a environ 5 ans
- Statut changé de Solution validée à Résolu (à déployer)
- % réalisé changé de 0 à 100
Appliqué par commit authentic2|c52e23b5a7f73f4bab4cea0641234785c422566d.
Mis à jour par Frédéric Péters il y a environ 5 ans
- Statut changé de Résolu (à déployer) à Solution déployée
manager: use get_table_data() to get queryset in ExportMixin (fixes #9414)