From 2851b3026eb3eb940d42251a3d9de82609645baa Mon Sep 17 00:00:00 2001
From: Nicolas Delaby <nicolas@nexedi.com>
Date: Tue, 23 Oct 2007 17:33:09 +0000
Subject: [PATCH] Folder_reindexObjectList should be called only once

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17143 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_skins/erp5_core/Folder_reindexAll.xml                | 1 -
 product/ERP5/bootstrap/erp5_core/bt/revision                    | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_reindexAll.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_reindexAll.xml
index b960073845..391ea415e8 100644
--- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_reindexAll.xml
+++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_reindexAll.xml
@@ -122,7 +122,6 @@ except (NotImplementedError, AttributeError):\n
   id_list_list = []\n
   for bundle_index in xrange(len(id_list) / BUNDLE_ITEM_COUNT):\n
     id_list_list.append(id_list[bundle_index * BUNDLE_ITEM_COUNT:((bundle_index + 1) * BUNDLE_ITEM_COUNT)])\n
-    Folder_reindexObjectList(id_list_list)\n
   remaining_object_id_count = len(id_list) % BUNDLE_ITEM_COUNT\n
   if remaining_object_id_count > 0:\n
     id_list_list.append(id_list[-remaining_object_id_count:])\n
diff --git a/product/ERP5/bootstrap/erp5_core/bt/revision b/product/ERP5/bootstrap/erp5_core/bt/revision
index 941d0e591f..7ad8022502 100644
--- a/product/ERP5/bootstrap/erp5_core/bt/revision
+++ b/product/ERP5/bootstrap/erp5_core/bt/revision
@@ -1 +1 @@
-479
\ No newline at end of file
+480
\ No newline at end of file
-- 
2.30.9