fixed a problem with sortable grid, new icons
This commit is contained in:
@@ -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
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user