Index: openacs-4/packages/acs-templating/tcl/query-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/query-procs.tcl,v diff -u -r1.25 -r1.26 --- openacs-4/packages/acs-templating/tcl/query-procs.tcl 20 Apr 2004 21:13:08 -0000 1.25 +++ openacs-4/packages/acs-templating/tcl/query-procs.tcl 27 Apr 2004 12:24:30 -0000 1.26 @@ -646,6 +646,8 @@
evaluate code block for each row (like db_foreach)
template::multirow upvar datasource [new_name]
upvar the multirow, aliasing to new_name if provided
+
template::multirow unset datasource
+
unset multirow
template::multirow sort datasource -lsort-switch -lsort-switch col1 col2
Sort the multirow by the column(s) specified. The value sorted by will be the the values of the columns specified, separated by the space character. Any switches specified before the columns will be passed directly to the lsort command.
template::multirow exists datasource