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
{{ message }}
This repository has been archived by the owner on Sep 9, 2022. It is now read-only.
Hi there. Thank you for creating this great tool. I was wondering, is there a way to implement the CursorPagination on merged collections that are not directly created from Eloquent Models or query builders? I need to merge a few collections for what I am doing, and then would like to create new cursor paginator based on the merged collection.
When I make a custom new CursorPaginator like this, it will create the first page just fine, but when I call the next_cursor, it does not return the next page of data:
Hi there. Thank you for creating this great tool. I was wondering, is there a way to implement the CursorPagination on merged collections that are not directly created from Eloquent Models or query builders? I need to merge a few collections for what I am doing, and then would like to create new cursor paginator based on the merged collection.
When I make a custom new CursorPaginator like this, it will create the first page just fine, but when I call the next_cursor, it does not return the next page of data:
new CursorPaginator($collection1, 15, [
'identifier' => 'id',
'identifier_alias' => 'id',
'date_identifier' => false,
'path' => request()->path(),
]);
Thanks so much.
The text was updated successfully, but these errors were encountered: