I have found the setPageName() method but how can I use it ?
this is my current code
return $sites->paginate($perPage)->sortBy('url_ftp');
In controller put this BEFORE the paginate(): Paginator::setPageName('my_custom_pagination_name');
In view put this BEFORE links(): Paginator::setPageName('my_custom_pagination_name');
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community