Index: openacs-4/packages/xowiki/tcl/weblog-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/weblog-procs.tcl,v diff -u -r1.56 -r1.57 --- openacs-4/packages/xowiki/tcl/weblog-procs.tcl 15 Jul 2010 23:55:31 -0000 1.56 +++ openacs-4/packages/xowiki/tcl/weblog-procs.tcl 23 Feb 2011 12:34:20 -0000 1.57 @@ -112,7 +112,8 @@ set base_type ::xowiki::Page set base_table xowiki_pagei set attributes [list bt.revision_id bt.publish_date bt.title bt.creator bt.creation_user \ - ci.parent_id bt.description s.body pi.instance_attributes] + ci.parent_id bt.description s.body \ + pi.instance_attributes pi.page_template fp.state] set class_clause \ " and ci.content_type not in ('::xowiki::PageTemplate','::xowiki::Object')" @@ -176,6 +177,7 @@ -from_clause "\ left outer join syndication s on s.object_id = bt.revision_id \ left join xowiki_page_instance pi on (bt.revision_id = pi.page_instance_id) \ + left join xowiki_form_page fp on (bt.revision_id = fp.xowiki_form_page_id) \ $extra_from_clause" \ -where_clause "ci.item_id not in ([my exclude_item_ids]) \ and ci.name != '::$folder_id' and ci.name not like '%weblog%' $date_clause \