Browse Source

Update listview.class.php

adminstyle
叙述、别离 3 days ago
parent
commit
37b9e44850
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/system/archive/listview.class.php

+ 2
- 2
src/system/archive/listview.class.php View File

@@ -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";
}


Loading…
Cancel
Save