Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use the pagination with view parser? #2371

Closed
luispastendev opened this issue Oct 28, 2019 · 1 comment
Closed

How to use the pagination with view parser? #2371

luispastendev opened this issue Oct 28, 2019 · 1 comment

Comments

@luispastendev
Copy link

Hello there!

I am building a view with pagination with view parser, the problem is how I spend the value of pager to build my links? since it is an object and in view parser it is not possible to use them

$data = [
    'rows' => $this->model->paginate(2),
    'pager' => $this->model->pager
];

grettings!

@jim-parry
Copy link
Contributor

Support questions should be asked on our forum, thanks. We use git hub for bug tracking and planned work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants