Index: openacs-4/packages/xotcl-core/tcl/30-widget-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xotcl-core/tcl/30-widget-procs.tcl,v diff -u -r1.70.2.16 -r1.70.2.17 --- openacs-4/packages/xotcl-core/tcl/30-widget-procs.tcl 14 Feb 2020 14:50:25 -0000 1.70.2.16 +++ openacs-4/packages/xotcl-core/tcl/30-widget-procs.tcl 18 Feb 2020 18:51:51 -0000 1.70.2.17 @@ -802,11 +802,13 @@ TABLE::Field instproc renderSortLabels {} { set field ${:orderby} - set table_ref [namespace tail [[:info parent] info parent]] - set table_id [::xowiki::Includelet html_id $table_ref] + #set table_ref [namespace tail [[:info parent] info parent]] + #set table_id [::xowiki::Includelet html_id $table_ref] + #set order_by_name ${table_id}_orderby + set orderby_name orderby set lvl [template::adp_level] if {$lvl ne ""} { - upvar #$lvl ${table_id}_orderby orderby + upvar #$lvl $orderby_name orderby } if {![info exists orderby]} {set orderby ""} set new_orderby $orderby @@ -823,7 +825,7 @@ set title [_ xotcl-core.Sort_by_this_column] set img /resources/acs-templating/sort-neither.png } - set query [list [list ${table_id}_orderby $new_orderby]] + set query [list [list $orderby_name $new_orderby]] if {[catch {set actual_query [ns_conn query]}]} { set actual_query "" } Index: openacs-4/packages/xowiki/tcl/folder-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/folder-procs.tcl,v diff -u -r1.55.2.31 -r1.55.2.32 --- openacs-4/packages/xowiki/tcl/folder-procs.tcl 18 Feb 2020 13:59:51 -0000 1.55.2.31 +++ openacs-4/packages/xowiki/tcl/folder-procs.tcl 18 Feb 2020 18:51:51 -0000 1.55.2.32 @@ -616,7 +616,7 @@ default {set tableWidgetClass ::xowiki::YUIDataTable} } - set t [$tableWidgetClass child-resources-[$current_folder item_id] -volatile -skin $skin \ + set t [$tableWidgetClass new -volatile -skin $skin \ -columns { BulkAction create objects -id ID -hide $::hidden(objects) -actions { if {$::__xowiki_folder_link ne ""} {