Project

General

Profile

Development #9414

search criteria not taken in account on users export

Added by Serghei Mihai over 3 years ago. Updated 4 months ago.

Status:
Solution déployée
Priority:
Normal
Category:
-
Target version:
-
Start date:
21 Dec 2015
Due date:
% Done:

100%

Patch proposed:
Yes
Planning:
No

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.

0001-manager-use-get_table_data-to-get-queryset-in-Export.patch View (794 Bytes) Benjamin Dauvergne, 18 Dec 2018 04:57 PM

Associated revisions

Revision c52e23b5 (diff)
Added by Benjamin Dauvergne 5 months ago

manager: use get_table_data() to get queryset in ExportMixin (fixes #9414)

History

#1 Updated by Mikaël Ates about 3 years ago

  • Target version set to future

#2 Updated by Marie Kuntz 6 months ago

same for roles

#3 Updated by Benjamin Dauvergne 6 months ago

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é.

#4 Updated by Benjamin Dauvergne 6 months ago

  • Assignee set to Benjamin Dauvergne

#5 Updated by Benjamin Dauvergne 6 months ago

La correction est courte, mais faut voir l'impact.

#6 Updated by Benjamin Dauvergne 5 months ago

  • Target version deleted (future)

#7 Updated by Serghei Mihai 5 months ago

  • Status changed from Solution proposée to Solution validée

#8 Updated by Benjamin Dauvergne 5 months ago

  • % Done changed from 0 to 100
  • Status changed from Solution validée to Résolu (à déployer)

#9 Updated by Frédéric Péters 4 months ago

  • Status changed from Résolu (à déployer) to Solution déployée

Also available in: Atom PDF