From f18db2b247b24894015e3a55d1ab1e627d760756 Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Fri, 11 May 2018 10:25:04 -0400 Subject: Simplified column value selection for histogram --- GradeBook_lib.tcl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'GradeBook_lib.tcl') 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

$col_str_value } -- cgit v1.2.3