From 707c13677ef39ec3e2397d319c023271d54a0d37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=99=E8=BF=B0=E3=80=81=E5=88=AB=E7=A6=BB?= <93301500+xushubieli@users.noreply.github.com> Date: Mon, 10 Feb 2025 01:04:34 +0800 Subject: [PATCH] Update arclist.lib.php --- src/system/taglib/arclist.lib.php | 1 + 1 file changed, 1 insertion(+) 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";