projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d081acb
)
Uses directory names to sort names in ML lists.
author
Stéphane Jacob
<sj@m4x.org>
Sat, 17 Jul 2010 15:29:36 +0000
(17:29 +0200)
committer
Stéphane Jacob
<sj@m4x.org>
Sat, 17 Jul 2010 15:29:44 +0000
(17:29 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
modules/lists/lists.inc.php
patch
|
blob
|
blame
|
history
diff --git
a/modules/lists/lists.inc.php
b/modules/lists/lists.inc.php
index
92d2c61
..
9f902c4
100644
(file)
--- 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';