fixed issue 1893:backwards compatibility problem with grid parameter exportclasses, thanks mweissen
This commit is contained in:
2
VERSION
2
VERSION
@@ -1 +1 @@
|
||||
Version 2.9.4-stable+timestamp.2014.03.09.17.21.20
|
||||
Version 2.9.4-stable+timestamp.2014.03.09.17.25.28
|
||||
|
||||
@@ -2599,8 +2599,11 @@ class SQLFORM(FORM):
|
||||
for k, v in sorted(exportManager.items()):
|
||||
if not v:
|
||||
continue
|
||||
label = v[1] if hasattr(v, "__getitem__") else k
|
||||
title = v[2] if hasattr(v, "__getitem__") else label
|
||||
if hasattr(v, "__getitem__"):
|
||||
label = v[1]
|
||||
title = v[2] if len(v)>2 else label
|
||||
else:
|
||||
label = title = k
|
||||
link = url2(vars=dict(
|
||||
order=request.vars.order or '',
|
||||
_export_type=k,
|
||||
|
||||
Reference in New Issue
Block a user