diff options
Diffstat (limited to 'GradeBook_lib.tcl')
-rwxr-xr-x | GradeBook_lib.tcl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/GradeBook_lib.tcl b/GradeBook_lib.tcl index 9a8824e..387e04c 100755 --- a/GradeBook_lib.tcl +++ b/GradeBook_lib.tcl @@ -1571,7 +1571,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 [concat $grades_category weighted_column]} { + if { ([SelectColValue4User $sort_col _Col_Category_] in [concat $grades_category weighted_column]) && ([SelectColValue4User $sort_col _Col_Category_] ni [concat Note Info])} { set ordered_by_str [concat CAST(\"$sort_col\" AS REAL)] } else { set ordered_by_str \"$sort_col\" |