Skip to content

How to use the pagination with view parser? #2371

Description

@luispastendev

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions