Answer the question
In order to leave comments, you need to log in
Why is pagination not working in laravel when searching?
There is a search on the site, when performing a search, it shows, let's say 4 pages, when I go to 3 (no matter which one) there are more of them, as I understand the search conditions do not work (the request is not taken into account) How can I make it take into account this data yearn for sessions , cookies or get .. or are there ready-made solutions?
Answer the question
In order to leave comments, you need to log in
In the view write
{{ $data->appends(['GET_параметр' => 'значение'])->links() }}
How can I make it take this data into account, yearn for sessions, cookies or get .. or are there ready-made solutions?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question