Preserve the order of sorting when changing the page of the annuaire
authorx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Mon, 27 Nov 2006 12:47:44 +0000 (12:47 +0000)
committerx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Mon, 27 Nov 2006 12:47:44 +0000 (12:47 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1184 839d8a87-29fc-0310-9880-83ba4fa771e5

templates/xnet/groupe/annuaire.tpl

index 5eef114..70eb634 100644 (file)
@@ -125,7 +125,7 @@ Tu peux 
 
 <p class="descr" style="text-align: center">
 {foreach from=$links item=ofs key=txt}
-<a href="{$platal->ns}annuaire?offset={$ofs}&amp;initiale={$smarty.request.initiale}"{if $smarty.request.offset eq $ofs} class="erreur"{/if}>{$txt}</a>
+<a href="{$platal->ns}annuaire?offset={$ofs}&amp;initiale={$smarty.request.initiale}&amp;order={$sort}"{if $smarty.request.offset eq $ofs} class="erreur"{/if}>{$txt}</a>
 {/foreach}
 </p>