skip to Main Content

Is there a good way to remove the "next" and "prev" links from Laravel Paginate API, other than removing it in the frontend?

My response looks like this: "links": { "first": "http://localhost:8000/api/tasks?page=1", "last": "http://localhost:8000/api/tasks?page=200", "prev": null, "next": "http://localhost:8000/api/tasks?page=2" }, "meta": { "current_page": 1, "from": 1, "last_page": 200, "links": [ { "url": null, "label": "« Previous", "active": false }, { "url": "http://localhost:8000/api/tasks?page=1", "label": "1",…

VIEW QUESTION
Back To Top
Search