From c01418efda7923c3af65c7f70c5b8edb5d89fb5e Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Fri, 14 Feb 2020 14:12:35 -0500 Subject: Info and Note categories are sorted alphabetically --- GradeBook_lib.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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\" -- cgit v1.2.3