@@ 656-663 (lines=8) @@ | ||
653 | { |
|
654 | if($sort_check->sort_index === 'list_order' || $sort_check->sort_index === 'update_order') |
|
655 | { |
|
656 | if($args->order_type === 'desc') |
|
657 | { |
|
658 | $args->{'rev_' . $sort_check->sort_index} = $oDocument->get($sort_check->sort_index); |
|
659 | } |
|
660 | else |
|
661 | { |
|
662 | $args->{$sort_check->sort_index} = $oDocument->get($sort_check->sort_index); |
|
663 | } |
|
664 | } |
|
665 | elseif($sort_check->sort_index === 'regdate') |
|
666 | { |
|
@@ 665-677 (lines=13) @@ | ||
662 | $args->{$sort_check->sort_index} = $oDocument->get($sort_check->sort_index); |
|
663 | } |
|
664 | } |
|
665 | elseif($sort_check->sort_index === 'regdate') |
|
666 | { |
|
667 | ||
668 | if($args->order_type === 'asc') |
|
669 | { |
|
670 | $args->{'rev_' . $sort_check->sort_index} = $oDocument->get($sort_check->sort_index); |
|
671 | } |
|
672 | else |
|
673 | { |
|
674 | $args->{$sort_check->sort_index} = $oDocument->get($sort_check->sort_index); |
|
675 | } |
|
676 | ||
677 | } |
|
678 | else |
|
679 | { |
|
680 | return 1; |