no message

This commit is contained in:
hellcat 2025-07-02 20:07:17 +08:00
parent 05deb68798
commit b7fd3e1a9a

View File

@ -194,7 +194,10 @@ class Book extends Model
// 默认也rank排序
} else {
$sOrderRank = BookOption::_hit("order_rank");
if ($sOrder == "no") {
$sOrderRank = BookOption::_hit("order_rank");
}
}
@ -204,8 +207,8 @@ class Book extends Model
$oSelf = $oSelf->orderByRaw("FIELD(rank, " . $sOrderRank . ") DESC, (rank IS NULL) ASC");
$oSelf = $oSelf->orderByRaw("fire DESC, (fire IS NULL) ASC");
$sOrder = "no";
$sOrderType = "asc";
// $sOrder = "no";
// $sOrderType = "asc";
$oSelf = $oSelf->orderBy($sOrder, $sOrderType);