no message
This commit is contained in:
parent
0844004519
commit
7248662f1d
@ -304,7 +304,7 @@ class SakaiController
|
|||||||
$s = "optionSet todo_show_type 1";
|
$s = "optionSet todo_show_type 1";
|
||||||
$s = "openRe";
|
$s = "openRe";
|
||||||
// $s = "back";
|
// $s = "back";
|
||||||
$s = "todoShowType AB";
|
// $s = "todoShowType AB";
|
||||||
// $s = "type todo";
|
// $s = "type todo";
|
||||||
|
|
||||||
// movetoId和like列表
|
// movetoId和like列表
|
||||||
|
|||||||
@ -96,14 +96,22 @@ class Book extends Model
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($oParentRag->type == "todo") {
|
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") {
|
if ($oParentRag->order == "rank_todo") {
|
||||||
|
|
||||||
$sTodoOrder = BookOption::_hit("order_rank_todo");
|
$sTodoOrder = BookOption::_hit("order_rank_todo");
|
||||||
|
|||||||
@ -912,9 +912,7 @@ class Book extends Base {
|
|||||||
$aParentType = $this->_typeFormat($oParentRag->type);
|
$aParentType = $this->_typeFormat($oParentRag->type);
|
||||||
|
|
||||||
if ($aParentType[0] == "todo") {
|
if ($aParentType[0] == "todo") {
|
||||||
// if (isset($aParentType[1])) {
|
$mCustom = $mCustom ? $mCustom : "none";
|
||||||
// $oBook->status = $aParentType[0]."_".$aParentType[1];
|
|
||||||
// }
|
|
||||||
if (empty($oBook->rank)) {
|
if (empty($oBook->rank)) {
|
||||||
$oBook->rank = $mCustom;
|
$oBook->rank = $mCustom;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user