[-] BO : fixed Alphabetical sorting of categories
This commit is contained in:
1 parent
fe0a8ae1a7
commit
8e9826743f
1 file changed
+5
-4
@@ -119,8 +119,7 @@
|
|||||||
{if $table_id} id={$table_id}{/if}
|
{if $table_id} id={$table_id}{/if}
|
||||||
class="table {if $table_dnd}tableDnD{/if} {$table}"
|
class="table {if $table_dnd}tableDnD{/if} {$table}"
|
||||||
cellpadding="0" cellspacing="0"
|
cellpadding="0" cellspacing="0"
|
||||||
style="width: 100%; margin-bottom:10px;"
|
style="width: 100%; margin-bottom:10px;">
|
||||||
>
|
|
||||||
<col width="10px" />
|
<col width="10px" />
|
||||||
{foreach $fields_display AS $key => $params}
|
{foreach $fields_display AS $key => $params}
|
||||||
<col {if isset($params.width) && $params.width != 'auto'}width="{$params.width}px"{/if}/>
|
<col {if isset($params.width) && $params.width != 'auto'}width="{$params.width}px"{/if}/>
|
||||||
@@ -146,8 +145,10 @@
|
|||||||
</span>
|
</span>
|
||||||
{if (!isset($params.orderby) || $params.orderby) && !$simple_header}
|
{if (!isset($params.orderby) || $params.orderby) && !$simple_header}
|
||||||
<br />
|
<br />
|
||||||
<a href="{$currentIndex}&{$table}Orderby={$key|urlencode}&{$table}Orderway=desc&token={$token}"><img border="0" src="../img/admin/down{if isset($order_by) && ($key == $order_by) && ($order_way == 'DESC')}_d{/if}.gif" /></a>
|
<a href="{$currentIndex}&{$table}Orderby={$key|urlencode}&{$table}Orderway=desc&token={$token}{if isset($smarty.get.$identifier)}&{$identifier}={$smarty.get.$identifier|intval}{/if}">
|
||||||
<a href="{$currentIndex}&{$table}Orderby={$key|urlencode}&{$table}Orderway=asc&token={$token}"><img border="0" src="../img/admin/up{if isset($order_by) && ($key == $order_by) && ($order_way == 'ASC')}_d{/if}.gif" /></a>
|
<img border="0" src="../img/admin/down{if isset($order_by) && ($key == $order_by) && ($order_way == 'DESC')}_d{/if}.gif" /></a>
|
||||||
|
<a href="{$currentIndex}&{$table}Orderby={$key|urlencode}&{$table}Orderway=asc&token={$token}{if isset($smarty.get.$identifier)}&{$identifier}={$smarty.get.$identifier|intval}{/if}">
|
||||||
|
<img border="0" src="../img/admin/up{if isset($order_by) && ($key == $order_by) && ($order_way == 'ASC')}_d{/if}.gif" /></a>
|
||||||
{elseif !$simple_header}
|
{elseif !$simple_header}
|
||||||
<br />
|
<br />
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
Reference in new issue
Block a user