Index: openacs-4/packages/xowiki/tcl/includelet-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/includelet-procs.tcl,v diff -u -r1.156 -r1.157 --- openacs-4/packages/xowiki/tcl/includelet-procs.tcl 4 Jul 2010 16:52:56 -0000 1.156 +++ openacs-4/packages/xowiki/tcl/includelet-procs.tcl 5 Jul 2010 09:19:26 -0000 1.157 @@ -3345,6 +3345,14 @@ } #my msg fc=$form_constraints + # + # The internal variables (instance attributes, etc) are prefixed + # with an underscore. Therefore, we prefix here "orderby" as + # well. For the provided table properties, prefixing happens in + # the loop below. + # + set orderby _$orderby + # load table properties; order_by won't work due to comma, but solve that later (TODO) set table_properties [::xowiki::PageInstance get_list_from_form_constraints \ -name @table_properties \ @@ -3361,7 +3369,6 @@ default {error "unknown table property '$attr' provided"} } } - set orderby _$orderby if {![info exists field_names]} { set fn [::xowiki::PageInstance get_short_spec_from_form_constraints \