pagination - Dynamic perPage Variable in Laravel vis Select -


i'm submitting form index() action of resource controller it' scaling store() method. here's code.

http://paste.laravel.com/rru

i'm trying dynamically change $perpage variable adjust pagination amount via select box submitted using jquery. ideas.

as far know there no resource key available when opening form. index method on resource controller routed get request. because form opening post request default it's posting current uri results in request ending @ store method.

if you're trying update pagination why don't send get , use query string (as paginator does).


Comments

Popular posts from this blog

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

ruby on rails - Authlogic - how to make a registration and don't log in the new account? -