pagination
This commit is contained in:
@ -191,6 +191,11 @@ class ListJsonTable
|
||||
public function endTable(): void
|
||||
{
|
||||
$this->html .= "</table>";
|
||||
// $pagination = new Pagination($this->data['meta']['total'], $this->data['meta']['perPage'], $this->data['meta']['currentPage'], $this->baseUrl);
|
||||
$pagination = new Pagination(count($this->data['data']), $this->data['paginationParams'], $this->baseUrl);
|
||||
var_dump(count($this->data['data']));
|
||||
$pagination->create();
|
||||
$this->html .= $pagination->fetch();
|
||||
$hookAfter = $this->afterPrintHook;
|
||||
$this->html .= $hookAfter($this->data['meta']);
|
||||
}
|
||||
|
Reference in New Issue
Block a user