Level 41
Use JavaScript to go to when the select element changes
?per_page=value
In your controller
$per_page = Input::get('per_page ');
Post::paginate($per_page);
Hello guys,
I have a few paginations on a project and i want the user to select the total items to view for each page, like a filter. In the view with the paginator. How can i achieve this, whats the best way to do it?
Thank you.
Please or to participate in this conversation.