no message
This commit is contained in:
parent
e3404a4fca
commit
e192b57a79
@ -1837,8 +1837,9 @@ class Book extends Base {
|
|||||||
$iOptionLimit = ModelBookOption::_hit("global_like_limit");
|
$iOptionLimit = ModelBookOption::_hit("global_like_limit");
|
||||||
|
|
||||||
$iRowStart = ($iPage - 1) * $iOptionLimit;
|
$iRowStart = ($iPage - 1) * $iOptionLimit;
|
||||||
|
$iRowStart = $iRowStart == 0 ? 1 : $iRowStart;
|
||||||
|
|
||||||
$oBook = ModelBook::where("rag", "like", "%".$sValue."%")->get();
|
$oBook = ModelBook::where("rag", "like", "%".$sValue."%")->limit($iOptionLimit)->offset($iRowStart)->get();
|
||||||
|
|
||||||
$this->aRagOption["is_shadow_list"] = true;
|
$this->aRagOption["is_shadow_list"] = true;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user