I kind of figured out why this might be happening. I am returning only the response in json format. I should be returning view as on the page=2, it dumps all the json encoded response. I think that might be the problem. Can someone suggest how should I do that? when I return view, it gives null value for the variable assigned to view.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community