no clickable headers for virtual fields, thanks Anthony
This commit is contained in:
@@ -1 +1 @@
|
||||
Version 2.5.1-stable+timestamp.2013.06.17.09.15.51
|
||||
Version 2.5.1-stable+timestamp.2013.06.17.10.41.11
|
||||
|
||||
@@ -90,6 +90,7 @@ div.controls select +.error_wrapper {margin-left:5px;}
|
||||
.ie-lte7 div.error{color:#fff;}
|
||||
|
||||
/* beautify brand */
|
||||
.navbar {margin-bottom:0}
|
||||
.navbar-inverse .brand{color:#c6cecc;}
|
||||
.navbar-inverse .brand b{display:inline-block;margin-top:-1px;}
|
||||
.navbar-inverse .brand b>span{font-size:22px;color:white}
|
||||
|
||||
+1
-1
@@ -2232,7 +2232,7 @@ class SQLFORM(FORM):
|
||||
continue
|
||||
key = str(field)
|
||||
header = headers.get(str(field), field.label or key)
|
||||
if sortable:
|
||||
if sortable and not isinstance(field, Field.Virtual):
|
||||
if key == order:
|
||||
key, marker = '~' + order, sorter_icons[0]
|
||||
elif key == order[1:]:
|
||||
|
||||
Reference in New Issue
Block a user