#351 enable sort by extra_vars

This commit is contained in:
akasima 2014-08-23 11:51:38 +09:00 committed by bnu
parent 875149975a
commit f878f98461
3 changed files with 27 additions and 2 deletions

View file

@ -129,6 +129,9 @@
<div class="x_controls">
<select name="order_target" id="order_target" title="{$lang->order_target}">
<option loop="$order_target=> $key, $val" value="{$key}" selected="selected"|cond="$module_info->order_target== $key">{$val}</option>
<block cond="$extra_order_target">
<option loop="$extra_order_target=> $key, $val" value="{$key}" selected="selected"|cond="$module_info->order_target== $key">{$val}</option>
</block>
</select>
<select name="order_type" id="order_type" title="{$lang->order_type}">
<option value="asc" selected="selected"|cond="$module_info->order_type != 'desc'">{$lang->order_asc}</option>