From aa7203871cbda3b9b7cd0d9ac97116904b94df85 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Sat, 17 Jul 2010 17:29:36 +0200 Subject: [PATCH] Uses directory names to sort names in ML lists. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- modules/lists/lists.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; -- 2.1.4