Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
02a3e52b7d |
@ -326,7 +326,7 @@ class ListJsonTable extends JasonTable
|
|||||||
$hookAfter = $this->afterPrintHook;
|
$hookAfter = $this->afterPrintHook;
|
||||||
$this->html .= $hookAfter($this->data['meta']);
|
$this->html .= $hookAfter($this->data['meta']);
|
||||||
|
|
||||||
if ($this->pagination) {
|
if ($this->pagination && $this->data['data']) {
|
||||||
$options = [
|
$options = [
|
||||||
'countItem' => $this->data['meta']['total'],
|
'countItem' => $this->data['meta']['total'],
|
||||||
'perPage' => $this->data['meta']['perPage'] ?? 10,
|
'perPage' => $this->data['meta']['perPage'] ?? 10,
|
||||||
|
Reference in New Issue
Block a user