You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In other projects, I'm using $this->app->alias(CustomPaginator::class, LengthAwarePaginator::class); in AppServiceProvider#register to use a custom pagination when using
For some reason, it doesn't work using the following pagination method: $messagePreviews = $targetFolder->query()->all()->paginate(15);, it's always LengthAwarePaginator. Any ideas why?
And how do I deep sort folders alphabetically ascending by name? Everytime I use sortBy on getFolders, it only sorts the first level.
Also, I'm not really sure if this is the right way to a folder preview. The documentation is not really expressive for me I think.
Thank you.
By the way, your discord link does not work anymore.
The text was updated successfully, but these errors were encountered:
In other projects, I'm using
$this->app->alias(CustomPaginator::class, LengthAwarePaginator::class);
inAppServiceProvider#register
to use a custom pagination when usingFor some reason, it doesn't work using the following pagination method:
$messagePreviews = $targetFolder->query()->all()->paginate(15);
, it's alwaysLengthAwarePaginator
. Any ideas why?And how do I deep sort folders alphabetically ascending by name? Everytime I use
sortBy
ongetFolders
, it only sorts the first level.Also, I'm not really sure if this is the right way to a folder preview. The documentation is not really expressive for me I think.
Thank you.
By the way, your discord link does not work anymore.
The text was updated successfully, but these errors were encountered: