Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pagination param not working #272

Open
yogs22 opened this issue Nov 16, 2020 · 0 comments
Open

Pagination param not working #272

yogs22 opened this issue Nov 16, 2020 · 0 comments

Comments

@yogs22
Copy link

yogs22 commented Nov 16, 2020

Describe the bug
Hi! i tried implementing pagination in the getMessage() method, but there is no data change when I manipulate the page parameter

To Reproduce
Steps to reproduce the behavior:

  1. There is my code with pagination params
    \Chat::conversations()->setPaginationParams([ 'perPage' => 10, 'sorting' => "desc", 'columns' => [ '*' ], ]) ->setParticipant($auth) ->get();
  2. I only have 25 message items, but when I fill in 10 page parameters, the data still matches the page 1 parameter, When I change the parameter to 2 the data that appears also doesn't change
  3. This is the response
    image

Expected behavior
My expectation is that my data changes according to the value of the page parameter

Thank you 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant