AnsweredAssumed Answered

user sorting on ftl template

Question asked by trelofysikos on Apr 29, 2009
Latest reply on Aug 12, 2009 by joksy
I would like the user to be able to sort documents on my template by clicking on the row title.

to do this i' m using links on the row title that pass an variable on the url, like this
<a href="/alfresco/navigate/browse/workspace/SpacesStore/${space.id}?sort=id">ID</a>

on the FTL i' m trying to get this variable by using this code
<#assign keys = args?keys>
<#list keys as arg>    
   ${arg}
</#list> 

but it is not working. I have also tried
<#assign keys = sort?keys>
<#list keys as arg>    
   ${arg}
</#list> 

How can i get this variable from the url ? Is there an error in the link url?

Outcomes