[web2py] Re: [Web2py] redirect doesn't work with 'tab' as var name
What does your controller do with the tab var? On Tuesday, March 24, 2015 at 8:14:54 PM UTC-7, Phillip Parente wrote: In controller, redirect is not working with 'tab' as var name: redirect(URL('mycontroller', 'index', vars={'tab':'DF03'})) is not working redirect(URL('mycontroller', 'index', vars={'tab2':'DF03'})) works fine Is that a bug? Phillip -- 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.
[web2py] Re: [Web2py] redirect doesn't work with 'tab' as var name
Definitively not a bug in web2py. Add a print request.env.path_info in your app to see what is really going on. On Tuesday, 24 March 2015 22:14:54 UTC-5, Phillip Parente wrote: In controller, redirect is not working with 'tab' as var name: redirect(URL('mycontroller', 'index', vars={'tab':'DF03'})) is not working redirect(URL('mycontroller', 'index', vars={'tab2':'DF03'})) works fine Is that a bug? Phillip -- 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.