diff --git a/ps_facetedsearch.php b/ps_facetedsearch.php index 211ed4e2f..1fb71c774 100644 --- a/ps_facetedsearch.php +++ b/ps_facetedsearch.php @@ -91,7 +91,7 @@ public function __construct() { $this->name = 'ps_facetedsearch'; $this->tab = 'front_office_features'; - $this->version = '3.8.0'; + $this->version = '3.9.0'; $this->author = 'PrestaShop'; $this->need_instance = 0; $this->bootstrap = true; diff --git a/upgrade/upgrade-3.9.0.php b/upgrade/upgrade-3.9.0.php new file mode 100644 index 000000000..bc4e0b248 --- /dev/null +++ b/upgrade/upgrade-3.9.0.php @@ -0,0 +1,32 @@ + + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + */ +if (!defined('_PS_VERSION_')) { + exit; +} + +function upgrade_module_3_9_0(Ps_Facetedsearch $module) +{ + $module->rebuildCommentIndexTable(); + $module->indexReviews(true); + $module->rebuildLayeredStructure(); + $module->invalidateLayeredFilterBlockCache(); + + return $module->registerHook($module->getHookDispatcher()->getAvailableHooks()); +}