Index: openacs-4/packages/acs-tcl/tcl/table-display-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/Attic/table-display-procs.tcl,v diff -u -r1.20.8.8 -r1.20.8.9 --- openacs-4/packages/acs-tcl/tcl/table-display-procs.tcl 10 Oct 2013 20:44:08 -0000 1.20.8.8 +++ openacs-4/packages/acs-tcl/tcl/table-display-procs.tcl 12 Oct 2013 13:55:18 -0000 1.20.8.9 @@ -517,8 +517,8 @@ if {$columns eq ""} { for {set i 0} {$i < [llength $datadef]} {incr i} { if {$sortable eq "all" - || ($sortable == "t" && [lindex [lindex $datadef $i] 2] != "no_sort") - || ($sortable == "f" && [lindex [lindex $datadef $i] 2] == "no_sort") + || ($sortable == "t" && [lindex $datadef $i 2] ne "no_sort") + || ($sortable == "f" && [lindex $datadef $i 2] eq "no_sort") } { lappend column_list $i } @@ -642,12 +642,12 @@ # select table set options "" foreach opt $sel_list { - append options " " + append options " " } for {set i 0} { $i < $max_columns} {incr i} { if {$i < $n_sel_columns} { - set match [lindex [lindex $datadef [lindex $sel_columns $i]] 0] + set match [lindex $datadef [lindex $sel_columns $i] 0] regsub "(" foreach opt $sel_list { - append options " " + append options " " } for {set i 0} { $i < $max_columns} {incr i} {