hooks/syncschema.py
branchstable
changeset 5772 4283ee58acaf
parent 5426 0d4853a6e5ee
child 5774 0d792bceb25d
child 5801 355d3945c1f3
--- a/hooks/syncschema.py	Thu Jun 17 15:04:35 2010 +0200
+++ b/hooks/syncschema.py	Thu Jun 17 15:08:25 2010 +0200
@@ -1177,7 +1177,7 @@
                 source.fti_unindex_entity(session, entity.eid)
                 for container in entity.fti_containers():
                     if still_fti or container is not entity:
-                        source.fti_unindex_entity(session, entity.eid)
+                        source.fti_unindex_entity(session, container.eid)
                         source.fti_index_entity(session, container)
         if len(to_reindex):
             # Transaction have already been committed