laravel / scout

Laravel Scout provides a driver based solution to searching your Eloquent models.
https://laravel.com/docs/scout
MIT License
1.57k stars 333 forks source link

Paginate not working #886

Open repirisyan opened 22 hours ago

repirisyan commented 22 hours ago

Scout Version

10.11.7

Scout Driver

Algolia

Laravel Version

11.31.0

PHP Version

8.2.24

Database Driver & Version

Mysql 8.0.33

SDK Version

No response

Meilisearch CLI Version

No response

Description

I am using algolia search for scout, and do paginate, the paginate is can be produce but it seem like show all the data

Steps To Reproduce

News::search('')->orderBy('date_news','desc')->paginate(6)

crynobone commented 22 hours ago

Hey there, thanks for reporting this issue.

We'll need more info and/or code to debug this further. Can you please create a repository with the command below, commit the code that reproduces the issue as one separate commit on the main/master branch and share the repository here?

Please make sure that you have the latest version of the Laravel installer in order to run this command. Please also make sure you have both Git & the GitHub CLI tool properly set up.

laravel new bug-report --github="--public"

Do not amend and create a separate commit with your custom changes. After you've posted the repository, we'll try to reproduce the issue.

Thanks!