mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 12:07:23 +08:00
fix staffbox pagination (#184)
This commit is contained in:
+1
-1
@@ -50,7 +50,7 @@ if (!$action) {
|
|||||||
<td class=colhead align=center><nobr>".$lang_staffbox['col_action']."</nobr></td>
|
<td class=colhead align=center><nobr>".$lang_staffbox['col_action']."</nobr></td>
|
||||||
</tr>");
|
</tr>");
|
||||||
|
|
||||||
$res = $query->forPage($pageNum, $perpage)->orderBy('id', 'desc')->get()->toArray();
|
$res = $query->forPage($pageNum + 1, $perpage)->orderBy('id', 'desc')->get()->toArray();
|
||||||
do_log(last_query());
|
do_log(last_query());
|
||||||
foreach ($res as $arr)
|
foreach ($res as $arr)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user