aboutsummaryrefslogtreecommitdiff
path: root/GradeBook_lib.tcl
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2018-05-11 10:25:04 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2018-05-11 10:25:04 -0400
commitf18db2b247b24894015e3a55d1ab1e627d760756 (patch)
tree6233a97a89b175e5cd16635f602888564e53c4e7 /GradeBook_lib.tcl
parent5b55d17183cefcb1b66e21d5040cbd85be5d725f (diff)
downloadGradeBook-f18db2b247b24894015e3a55d1ab1e627d760756.tar.gz
GradeBook-f18db2b247b24894015e3a55d1ab1e627d760756.zip
Simplified column value selection for histogram
Diffstat (limited to 'GradeBook_lib.tcl')
-rwxr-xr-xGradeBook_lib.tcl3
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
}