fixed a problem with sortable grid, new icons

This commit is contained in:
mdipierro
2013-08-20 03:22:54 -05:00
parent 9a86f4f0f3
commit 56dcaff236
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.6.0-development+timestamp.2013.08.20.01.33.36
Version 2.6.0-development+timestamp.2013.08.20.03.21.53
+2 -2
View File
@@ -1750,7 +1750,7 @@ class SQLFORM(FORM):
oncreate=None,
onupdate=None,
ondelete=None,
sorter_icons=(XML('↑'), XML('↓')),
sorter_icons=(XML('▲'), XML('▼')),
ui = 'web2py',
showbuttontext=True,
_class="web2py_grid",
@@ -2210,7 +2210,7 @@ class SQLFORM(FORM):
marker = sorter_icons[1]
else:
if key == ordermatch:
key, marker = '~' + order, sorter_icons[0]
key, marker = '~' + ordermatch, sorter_icons[0]
elif key == ordermatch[1:]:
marker = sorter_icons[1]
header = A(header, marker, _href=url(vars=dict(