fixed issue 999 removed unwanted redirect in grid

This commit is contained in:
mdipierro
2012-09-12 11:08:32 -05:00
parent 7e61e576cd
commit 2f6fbb689b
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.0.8 (2012-09-12 10:43:36) stable
Version 2.0.8 (2012-09-12 11:08:28) stable
+3 -2
View File
@@ -1664,8 +1664,9 @@ class SQLFORM(FORM):
return URL(**b)
referrer = session.get('_web2py_grid_referrer_'+formname, url())
if user_signature:
if (args != request.args and user_signature and \
if user_signature:
if ('/'.join(str(a) for a in args) != '/'.join(request.args) and \
user_signature and \
not URL.verify(request,user_signature=user_signature)) or \
(not (session.auth and session.auth.user) and \
('edit' in request.args or \