I am facing a problem with sorting and returning merged collections.
When i do:
$ads = Ad::where('status',1)->where('deleted_at',NULL)->paginate(30);
it works but when i merge this with another collection like
$one = Ad::where('status', 1)->get();
$two = Ad::where('status', 2)->get();
$ads = $one->merge($two);
$ads->paginate(30);
it tells me that "paginate method does not exist" as well as "orderBy method does not exist"
are those collections different from the single returned ones?