Saurabh Pathak

Results 2 comments of Saurabh Pathak

When calling the search function try using distinct(). It fixed the issue for me. Eg. $a = Model::search('something')->with('table1')->distinct()->get();

I have never tried this before, but as @iget-master says, the search is made at MySQL, you can try creating a view (with a column containing the concatenated names) and...