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 -N -r1.20 -r1.21 --- openacs-4/packages/acs-templating/tcl/query-procs.tcl 31 Dec 2003 01:02:58 -0000 1.20 +++ openacs-4/packages/acs-templating/tcl/query-procs.tcl 11 Jan 2004 20:49:40 -0000 1.21 @@ -916,6 +916,9 @@ # Replace the row in the multirow with the row from the copy with the rownum according to the sort array set row [array get copy:$org_rownum] + + # Replace the 'rownum' column + set row(rownum) $i } # Multirow length may have changed if you said -unique