Index: openacs-4/packages/file-storage/www/folder-chunk.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/www/folder-chunk.tcl,v
diff -u -r1.45 -r1.46
--- openacs-4/packages/file-storage/www/folder-chunk.tcl 24 Jul 2008 15:11:28 -0000 1.45
+++ openacs-4/packages/file-storage/www/folder-chunk.tcl 9 Nov 2008 23:29:26 -0000 1.46
@@ -116,7 +116,7 @@
orderby_asc {fs_objects.sort_key, fs_objects.pretty_type asc}] \
name \
[list label [_ file-storage.Name] \
- display_template {@contents.name@@contents.title@
@contents.name@} \
+ display_template {@contents.name@@contents.title@
@contents.name@} \
orderby_desc {fs_objects.name desc} \
orderby_asc {fs_objects.name asc}] \
short_name \
@@ -180,7 +180,7 @@
}
template::list::create \
- -name contents \
+ -name contents_${folder_id} \
-multirow contents \
-key object_id \
-actions $actions \
@@ -207,7 +207,7 @@
} \
-elements $elements
-set orderby [template::list::orderby_clause -orderby -name contents]
+set orderby [template::list::orderby_clause -orderby -name contents_${folder_id}]
if {[string equal $orderby ""]} {
set orderby " order by fs_objects.sort_key, fs_objects.name asc"