mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 00:02:21 +09:00
issue 2187 change sort type to regdate
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12289 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f66e445187
commit
5b4294eada
2 changed files with 2 additions and 2 deletions
|
|
@ -17,7 +17,7 @@ class content extends WidgetHandler
|
|||
function proc($args)
|
||||
{
|
||||
// Targets to sort
|
||||
if(!in_array($args->order_target, array('list_order','update_order'))) $args->order_target = 'list_order';
|
||||
if(!in_array($args->order_target, array('regdate','update_order'))) $args->order_target = 'regdate';
|
||||
// Sort order
|
||||
if(!in_array($args->order_type, array('asc','desc'))) $args->order_type = 'asc';
|
||||
// Pages
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue