From d1054cf55e8a46896b9ebbc639eb0ee1c18fad54 Mon Sep 17 00:00:00 2001 From: ycharbi Date: Sun, 2 Apr 2023 15:22:36 +0200 Subject: [PATCH] =?UTF-8?q?Changement=20de=20l'ordre=20d'affichage=20des?= =?UTF-8?q?=20alias=20virtuels=20pour=20d=C3=A9croissant=20par=20date=20de?= =?UTF-8?q?=20cr=C3=A9ation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/fonctions/bdd/alias_virtuels.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/fonctions/bdd/alias_virtuels.php b/services/fonctions/bdd/alias_virtuels.php index 51d1de7..4d24ce2 100644 --- a/services/fonctions/bdd/alias_virtuels.php +++ b/services/fonctions/bdd/alias_virtuels.php @@ -12,7 +12,7 @@ require_once ($_SERVER["DOCUMENT_ROOT"]."/services/fonctions/bdd/connexion.php") function listeAliasVirtuelsBdd($pdo) { try { // Filtre des alias virtuels de l'utilisateur courant - $req = 'SELECT * FROM postfix_alias_virtuels WHERE destination=:destination ORDER BY courriel ASC'; + $req = 'SELECT * FROM postfix_alias_virtuels WHERE destination=:destination ORDER BY courriel DESC'; $sql=$pdo->prepare($req); $sql->bindValue(':destination',$_SESSION['pseudo_utilisateur']); $sql->execute();