From: Stéphane Jacob Date: Sat, 17 Jul 2010 15:29:36 +0000 (+0200) Subject: Uses directory names to sort names in ML lists. X-Git-Tag: xorg/1.0.1~329 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=aa7203871cbda3b9b7cd0d9ac97116904b94df85;p=platal.git Uses directory names to sort names in ML lists. Signed-off-by: Stéphane Jacob --- diff --git a/modules/lists/lists.inc.php b/modules/lists/lists.inc.php index 92d2c61..9f902c4 100644 --- a/modules/lists/lists.inc.php +++ b/modules/lists/lists.inc.php @@ -33,7 +33,7 @@ function list_sort_owners(&$members, $tri_promo = true) $membres[0][] = array('l' => $mem, 'p' => (!$tri_promo ? 'inconnue' : null)); } else { $uid = $user->id(); - $nom = $user->fullName(); # XXX: Get a notion of 'last name' here, I want to sort user by lastnames + $nom = $user->directoryName(); $promo = $user->promo(); if (!$promo) { $promo = 'non-X';