Oct 18, 2016
0
Level 1
Laravel Scout Pagination returning incomplete results
I am using Scout to create a search with Algolia as the driver. Everything is synced and returning results, but when I set the results to be paginated, The paginated results is incomplete. Depending on the search term, the array indexes will be 0, 1, 2, 5, 6, 8, 9. Notice how the array is missing 3, 4, and 7. So when I display the results on the frontend, it is only showing 7 results.
Anyone have an idea on how to fix this?
Please or to participate in this conversation.