#--
-- Build the attribute for sorting table
-- @param filter the filter
-- @return the attributes used in the URL
-->
<#function buildSortSearchAttribute filter>
<#assign sortSearchAttribute = "" />
<#if filter??>
<#if filter.name?? && filter.name != "">
<#assign sortSearchAttribute = sortSearchAttribute + "&name=" + filter.name! />
#if>
<#if filter.description?? && filter.description != "">
<#assign sortSearchAttribute = sortSearchAttribute + "&description=" + filter.description! />
#if>
<#if filter.workgroup?? && filter.workgroup != "">
<#assign sortSearchAttribute = sortSearchAttribute + "&workgroup=" + filter.workgroup! />
#if>
#if>
<#return sortSearchAttribute + "&session=sesssion" />
#function>