lumberjack-core icon indicating copy to clipboard operation
lumberjack-core copied to clipboard

Feature: pagination() method on PostType

Open Androlax2 opened this issue 2 years ago • 0 comments

It would be nice if the PostType::query() replicate the https://timber.github.io/docs/reference/timber-postquery/#pagination

With Timber we can do something like this :

$posts = new PostQuery();

// Pagination object
$posts->pagination();

But, with Lumberjack, we cannot do something similar :

$posts = PostType::all();

// Pagination object
$posts->pagination();

Androlax2 avatar Jun 22 '22 17:06 Androlax2