Development #14824
alfortville: tri des tables dg par date postale
0%
Fichiers
Révisions associées
mail: fix default order, by postal date first (#14824)
Historique
Mis à jour par Thomas Noël il y a environ 7 ans
- Fichier 0001-alfortville-sort-mails-by-post-date-in-DG-tables-147.patch 0001-alfortville-sort-mails-by-post-date-in-DG-tables-147.patch ajouté
- Statut changé de Nouveau à En cours
- Patch proposed changé de Non à Oui
Mis à jour par Frédéric Péters il y a environ 7 ans
Pour la forme j'ai vérifié qu'un champ "date de la poste" vide plaçait bien la demande en fin de liste. Peut-être taper creation_timestamp en clé de tri secondaire ?
Et peut-être faire ça simplement au niveau du modèle, comme tri par défaut, dans son Meta ?
Mis à jour par Thomas Noël il y a environ 7 ans
- Fichier 0001-mail-add-default-order-by-postal-or-creation-date-14.patch 0001-mail-add-default-order-by-postal-or-creation-date-14.patch ajouté
Dans le Meta c'est plus joli.
Mis à jour par Thomas Noël il y a environ 7 ans
- Fichier 0001-mail-add-default-order-by-postal-or-creation-date-14.patch 0001-mail-add-default-order-by-postal-or-creation-date-14.patch ajouté
Qui dit Meta dit migration, oubliée, voici.
Mis à jour par Frédéric Péters il y a environ 7 ans
Je suis pour altérer les migrations passées quand on sait qu'il n'y a pas d'incidence sur le schéma.
Mis à jour par Thomas Noël il y a environ 7 ans
- Fichier 0001-mail-add-default-order-by-postal-or-creation-date-14.patch 0001-mail-add-default-order-by-postal-or-creation-date-14.patch ajouté
Frédéric Péters a écrit :
Je suis pour altérer les migrations passées quand on sait qu'il n'y a pas d'incidence sur le schéma.
Moi aussi, d'ailleurs.
Mis à jour par Thomas Noël il y a plus de 6 ans
- Fichier 0001-mail-fix-default-order-by-postal-date-first-14824.patch 0001-mail-fix-default-order-by-postal-date-first-14824.patch ajouté
«x» mois plus tard, retour sur ce ticket (qui avait été poussé sans que ça soit indiqué ici, my bad). L'ordre est à poser dans l'autre sens.
Mis à jour par Thomas Noël il y a plus de 6 ans
- Statut changé de En cours à Résolu (à déployer)
commit f10ccdfa500cbdbf773330c13f591a2cb53429f1 Author: Thomas NOEL <tnoel@entrouvert.com> Date: Sun Oct 1 17:04:59 2017 +0200 mail: fix default order, by postal date first (#14824)
Mis à jour par Benjamin Dauvergne il y a environ 6 ans
- Statut changé de Résolu (à déployer) à Fermé
mail: add default order, by postal or creation date (#14824)