no clickable headers for virtual fields, thanks Anthony

This commit is contained in:
mdipierro
2013-06-17 10:41:56 -05:00
parent 5f9615bd10
commit 676dc2e377
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -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
View File
@@ -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:]: