Displays last and first names in the order announced on the top line in directory...
authorStéphane Jacob <sj@m4x.org>
Mon, 30 Aug 2010 16:43:15 +0000 (18:43 +0200)
committerStéphane Jacob <sj@m4x.org>
Mon, 30 Aug 2010 16:43:15 +0000 (18:43 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
templates/xnetgrp/annuaire-csv.tpl

index ebb9390..006b3c0 100644 (file)
@@ -23,7 +23,7 @@ Nom,Prénom,Sexe,Promotion,Email,Commentaire
 {if $users|@count}
 {foreach from=$users item=user}
 
-{$user->firstName()},{$user->lastName()},{if $user->isFemale()}F{else}M{/if},{$user->promo()},{$user->forlifeEmail()},{$user->group_comm|replace:',':'\,'}
+{$user->lastName()},{$user->firstName()},{if $user->isFemale()}F{else}M{/if},{$user->promo()},{$user->forlifeEmail()},{$user->group_comm|replace:',':'\,'}
 
 {/foreach}
 {/if}