chat icon indicating copy to clipboard operation
chat copied to clipboard

Pagination param not working

Open yogs22 opened this issue 3 years ago • 0 comments

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 👍

yogs22 avatar Nov 16 '20 08:11 yogs22