no message

This commit is contained in:
hellcat 2025-06-11 12:32:43 +08:00
parent 0844004519
commit 7248662f1d
3 changed files with 12 additions and 6 deletions

View File

@ -304,7 +304,7 @@ class SakaiController
$s = "optionSet todo_show_type 1";
$s = "openRe";
// $s = "back";
$s = "todoShowType AB";
// $s = "todoShowType AB";
// $s = "type todo";
// movetoId和like列表

View File

@ -96,14 +96,22 @@ class Book extends Model
}
if ($oParentRag->type == "todo") {
$oSelf = $oSelf->where("rank", "!=", "done");
$oSelf = $oSelf->where("rank", "!=", "block");
$sTodoShowRank = BookOption::_hit("todo_show_rank");
$aTodoShowRank = explode(",", $sTodoShowRank);
// tomd($aTodoShowRank, 1);
$oSelf = $oSelf->whereIn("rank", $aTodoShowRank);
// $oSelf = $oSelf->where("rank", "!=", "done");
// $oSelf = $oSelf->where("rank", "!=", "block");
}
}
}
// order
if ($oParentRag->order == "rank_todo") {
$sTodoOrder = BookOption::_hit("order_rank_todo");

View File

@ -912,9 +912,7 @@ class Book extends Base {
$aParentType = $this->_typeFormat($oParentRag->type);
if ($aParentType[0] == "todo") {
// if (isset($aParentType[1])) {
// $oBook->status = $aParentType[0]."_".$aParentType[1];
// }
$mCustom = $mCustom ? $mCustom : "none";
if (empty($oBook->rank)) {
$oBook->rank = $mCustom;
}