Found the solution.

I have to add
args=request.args[:1],
to the child grid.

terça-feira, 30 de Abril de 2019 às 00:37:24 UTC+1, Anthony escreveu:
>
> What do you mean by master-child pages? Are you using smartgrid? Can you 
> show some code?
>
> On Monday, April 29, 2019 at 6:15:30 PM UTC-4, jcrm...@gmail.com 
> <javascript:> wrote:
>>
>> Grid search and clear buttons don't restore request.args. Where can I 
>> correct that?
>>
>>
>> If using master-child pages, the master grid search works fine (because 
>> there are no request.args), but the child grid (which has request.args, 
>> from the master record) doesn't because the search and clear buttons don't 
>> restore the request.args.
>>
>>
>> web2py 2.18.5
>> Python 3.7.1 x86
>> Firefox 66.0.3 x64
>> Windows 7 Pro x64 SP1+all upds
>>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to