diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2016-10-19 16:30:16 -0400 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2016-10-19 16:30:16 -0400 |
commit | d2abfa4f48b0925838590884bf45f06eeaa74440 (patch) | |
tree | ecee9cec8932bc8033116cfe4ade9dec43cc1278 /GradeBook_lib.tcl | |
parent | 6fdb5b14e9aff4db9dde4dfe1806a69ab96801c3 (diff) | |
download | GradeBook-d2abfa4f48b0925838590884bf45f06eeaa74440.tar.gz GradeBook-d2abfa4f48b0925838590884bf45f06eeaa74440.zip |
explanations for the sort action
Diffstat (limited to 'GradeBook_lib.tcl')
-rwxr-xr-x | GradeBook_lib.tcl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/GradeBook_lib.tcl b/GradeBook_lib.tcl index 41fa9f1..59749a2 100755 --- a/GradeBook_lib.tcl +++ b/GradeBook_lib.tcl @@ -1674,7 +1674,11 @@ proc ChoseAction {action permission_list user} { if { [isActionGranted $action $permission_list $user] } { switch $action { - sort { SetSortColumn; ChoseAction defaultview $permission_list $user } + sort { + # we do not need to run SetSortColumn since it is done at the very beginning + # before we run ::ncgi::header + ChoseAction defaultview $permission_list $user + } addcolumn { AddColumn $permission_list $user; htmlDefaultView $permission_list $user |