[web2py] Re: SQLFORM.grid pagination and messed up URL

2014-03-03 Thread mcamel
Anthony, Would you mind to make a patch to the manual to clarify this thing?. Actual explanation is quite obscure and i'm not sure to understand completely what it means: the args argument of the grid specifies which request.args should be passed along and ignored by the object Regards.

[web2py] Re: SQLFORM.grid pagination and messed up URL

2014-03-03 Thread Anthony
OK, I've tried to clarify a bit. Anthony On Monday, March 3, 2014 7:31:42 AM UTC-5, mcamel wrote: Anthony, Would you mind to make a patch to the manual to clarify this thing?. Actual explanation is quite obscure and i'm not sure to understand completely what it means: the args argument

[web2py] Re: SQLFORM.grid pagination and messed up URL

2014-02-28 Thread Anthony
If the base URL for the grid includes args, you have to tell the grid to preserve those args when it generates its own URLs. For example: grid = SQLFORM.grid(..., args=request.args[:2]) Anthony On Friday, February 28, 2014 8:18:04 PM UTC-5, horridohobbyist wrote: I have a SQLFORM.grid with