diff --git a/src/system/taglib/arclist.lib.php b/src/system/taglib/arclist.lib.php index 33d00610..e8379d46 100755 --- a/src/system/taglib/arclist.lib.php +++ b/src/system/taglib/arclist.lib.php @@ -234,6 +234,7 @@ function lib_arclistDone (&$refObj, &$ctag, $typeid=0, $row=10, $col=1, $titlele $ordersql = ''; if ($orderby == 'hot' || $orderby == 'click') $ordersql = " ORDER BY arc.click $orderWay"; else if ($orderby == 'sortrank' || $orderby == 'pubdate') $ordersql = " ORDER BY arc.sortrank $orderWay"; + else if ($orderby == 'senddate') $ordersql = " ORDER BY arc.senddate $orderWay"; else if ($orderby == 'id') $ordersql = " ORDER BY arc.id $orderWay"; else if ($orderby == 'near') $ordersql = " ORDER BY ABS(arc.id - ".$arcid.")"; else if ($orderby == 'lastpost') $ordersql = " ORDER BY arc.lastpost $orderWay";