Hi,
I am using the sortby condition in my .tpl file as follows,
{foreach from=$products|@sortby:"#distnc" item="product" key="key" name="products"}
{* Code *}
{/foreach}
"#distnc" ----> is the variable to sort.
when i am executing the above code it was getting the Service Unavailable error. Anybody please help me to solve the issue.
Regards,
Satya.