lumberjack-core
lumberjack-core copied to clipboard
Feature: pagination() method on PostType
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();