pagination - Dynamic perPage Variable in Laravel vis Select -
i'm submitting form index() action of resource controller it' scaling store() method. here's code.
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
Post a Comment