no message
This commit is contained in:
parent
05deb68798
commit
b7fd3e1a9a
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user