aboutsummaryrefslogtreecommitdiff
path: root/GradeBook_lib.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'GradeBook_lib.tcl')
-rwxr-xr-xGradeBook_lib.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/GradeBook_lib.tcl b/GradeBook_lib.tcl
index 16df7aa..92df017 100755
--- a/GradeBook_lib.tcl
+++ b/GradeBook_lib.tcl
@@ -703,7 +703,7 @@ proc htmlDBout {db permission_list user {sort_col {}}} {
}
if { $sql_column_str ne "" } {
# assign type cast for different sort_col
- if { [SelectColValue4User $sort_col _Col_Category_] in [list $grades_category weighted_column]} {
+ if { [SelectColValue4User $sort_col _Col_Category_] in [concat $grades_category weighted_column]} {
set ordered_by_str [concat CAST(\"$sort_col\" AS REAL)]
} else {
set ordered_by_str \"$sort_col\"