From 37b9e448502ac52d1725b888f12f0e3c53d39965 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?= Date: Tue, 24 Dec 2024 20:22:02 +0800 Subject: [PATCH] Update listview.class.php --- src/system/archive/listview.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/system/archive/listview.class.php b/src/system/archive/listview.class.php index 6f821a95..184ad2f8 100755 --- a/src/system/archive/listview.class.php +++ b/src/system/archive/listview.class.php @@ -430,7 +430,7 @@ class ListView } else if ($orderby == "scores") { $ordersql = " ORDER BY arc.scores $orderWay"; } else if ($orderby == "rand") { - $ordersql = " ORDER BY rand() DESC"; + $ordersql = " ORDER BY rand()"; } else { $ordersql = " ORDER BY arc.sortrank $orderWay"; } @@ -852,7 +852,7 @@ class ListView } else if ($orderby == "scores") { $ordersql = " ORDER BY arc.scores $orderWay"; } else if ($orderby == "rand") { - $ordersql = " ORDER BY rand() DESC"; + $ordersql = " ORDER BY rand()"; } else { $ordersql = " ORDER BY arc.sortrank $orderWay"; }