diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2018-05-11 10:25:04 -0400 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2018-05-11 10:25:04 -0400 |
commit | f18db2b247b24894015e3a55d1ab1e627d760756 (patch) | |
tree | 6233a97a89b175e5cd16635f602888564e53c4e7 /GradeBook_lib.tcl | |
parent | 5b55d17183cefcb1b66e21d5040cbd85be5d725f (diff) | |
download | GradeBook-f18db2b247b24894015e3a55d1ab1e627d760756.tar.gz GradeBook-f18db2b247b24894015e3a55d1ab1e627d760756.zip |
Simplified column value selection for histogram
Diffstat (limited to 'GradeBook_lib.tcl')
-rwxr-xr-x | GradeBook_lib.tcl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/GradeBook_lib.tcl b/GradeBook_lib.tcl index c75c082..81abec1 100755 --- a/GradeBook_lib.tcl +++ b/GradeBook_lib.tcl @@ -1397,8 +1397,7 @@ proc htmlFormatColVal { col_value columnname user user_shown permission_list {fo # adding histogram marker if { ([SelectColValue4User GroupName $user_shown] ne "inforow") && ($user ni $special_user_names) && ($columnname ni $embeded_actions_excluded_special_columns) } { - array set v [getColAndValForUserName _The_Grades_Hist_Limits_ [colList2sqlColStr [list $columnname]] {}] - set col_histogram_limits $v($columnname) + set col_histogram_limits [SelectColValue4User $columnname _The_Grades_Hist_Limits_] set histPositionMarker [markNthBin [binInHistogram $col_value_raw $col_histogram_limits]] set col_str_value $histPositionMarker<p>$col_str_value } |