From 1b0e73af045ab3db4e360c43acbfa3fcab37f53d Mon Sep 17 00:00:00 2001 From: lLefevre Date: Mon, 23 Jul 2012 09:48:37 +0000 Subject: [PATCH] [-] BO : fix #PSCFV-3284 --- controllers/admin/AdminImportController.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/controllers/admin/AdminImportController.php b/controllers/admin/AdminImportController.php index 5984acf5d..1e68316df 100644 --- a/controllers/admin/AdminImportController.php +++ b/controllers/admin/AdminImportController.php @@ -1318,8 +1318,6 @@ class AdminImportControllerCore extends AdminController } } } - // we have to index new tags to be able to search new created tags - Search::indexation(false); } //delete existing images if "delete_existing_images" is set to 1 if (isset($product->delete_existing_images)) @@ -1398,6 +1396,9 @@ class AdminImportControllerCore extends AdminController StockAvailable::setQuantity((int)$product->id, 0, $product->quantity, $this->context->shop->id); } + + Search::indexation(true); + $this->closeCsvFile($handle); }