I would change all where by whereIn like: if($userid){ $q->andWhereIn('a. Userid', $userid); } if($catID){ $q->andWhereIn('ca.categorie_id', $catID); } I think this happens because when you're using the results in the view the paginator cant fetch all records in a row, so for each item has to do the query to get all fields.
I am really not sure why but here what was the problem: I used select('a. Latitude') when I should have used... select('a. *').
IF you only pick specific columns then that will be the data loaded... the rest of the data will not be loaded until you call the accessor for its corresponding property... see lazy loading fileds – prodigitalson Feb 22 at 15:31.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.