Index: openacs-4/packages/xowiki/tcl/xowiki-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/xowiki-procs.tcl,v diff -u -r1.331 -r1.332 --- openacs-4/packages/xowiki/tcl/xowiki-procs.tcl 10 Feb 2009 18:58:51 -0000 1.331 +++ openacs-4/packages/xowiki/tcl/xowiki-procs.tcl 12 Feb 2009 15:07:15 -0000 1.332 @@ -2206,7 +2206,7 @@ } FormPage proc get_form_entries { - -base_item_id + -base_item_ids -package_id -form_fields {-publish_status ready} @@ -2272,7 +2272,7 @@ set sql [::xowiki::FormPage instance_select_query \ -select_attributes $sql_atts \ -from_clause "" \ - -where_clause " bt.page_template = $base_item_id \ + -where_clause " bt.page_template in ([join $base_item_ids ,]) \ $publish_status_clause $filter_clause $extra_where_clause" \ -orderby $orderby \ -with_subtypes false \