From 63ea9b74db2bc0a0a0ff741e329bea7e34b729f9 Mon Sep 17 00:00:00 2001
From: Ayush Tiwari <ayush.tiwari@nexedi.com>
Date: Tue, 8 Aug 2017 13:05:20 +0000
Subject: [PATCH] bt5_config: Revert back to reindex catalog as now we get
 bootstrapped BM installed

---
 product/ERP5/ERP5Site.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5/ERP5Site.py b/product/ERP5/ERP5Site.py
index 334e3822cf..e91169aca6 100644
--- a/product/ERP5/ERP5Site.py
+++ b/product/ERP5/ERP5Site.py
@@ -2260,7 +2260,7 @@ class ERP5Generator(PortalGenerator):
 
   def setupIndex(self, p, **kw):
     # Make sure all tools and folders have been indexed
-    if not kw.get('reindex', 1):
+    if kw.get('reindex', 1):
       setattr(p, 'isIndexingRequired', ConstantGetter('isIndexingRequired', value=True))
       # Clear portal ids sql table, like this we do not take
       # ids for a previously created web site
-- 
2.30.9