Index: openacs-4/packages/xowiki/tcl/package-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/package-procs.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/xowiki/tcl/package-procs.tcl 26 Jul 2006 22:56:46 -0000 1.1 +++ openacs-4/packages/xowiki/tcl/package-procs.tcl 31 Jul 2006 21:24:12 -0000 1.2 @@ -249,8 +249,9 @@ } { my instvar folder_id db_foreach get_pages "select page_id from xowiki_page, cr_revisions r, cr_items i \ - where page_id = r.revision_id and i.item_id = r.item_id and i.parent_id = $folder_id " { - search::queue -object_id $page_id -event DELETE + where page_id = r.revision_id and i.item_id = r.item_id and i.parent_id = $folder_id \ + and i.live_revision = page_id" { + #search::queue -object_id $page_id -event DELETE search::queue -object_id $page_id -event INSERT } }