diff --git a/config.xml b/config.xml index b770a6676..765c257b5 100644 --- a/config.xml +++ b/config.xml @@ -2,7 +2,7 @@ ps_facetedsearch - + diff --git a/ps_facetedsearch.php b/ps_facetedsearch.php index 4cd9310ea..b21d3aacb 100644 --- a/ps_facetedsearch.php +++ b/ps_facetedsearch.php @@ -96,7 +96,7 @@ public function __construct() { $this->name = 'ps_facetedsearch'; $this->tab = 'front_office_features'; - $this->version = '3.12.1'; + $this->version = '3.13.0'; $this->author = 'PrestaShop'; $this->need_instance = 0; $this->bootstrap = true; diff --git a/upgrade/upgrade-3.13.0.php b/upgrade/upgrade-3.13.0.php new file mode 100644 index 000000000..5a8bc80ca --- /dev/null +++ b/upgrade/upgrade-3.13.0.php @@ -0,0 +1,33 @@ + + * @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_13_0(Ps_Facetedsearch $module) +{ + $newHooks = [ + 'actionFeatureValueFormBuilderModifier', + 'actionAfterCreateFeatureValueFormHandler', + 'actionAfterUpdateFeatureValueFormHandler', + ]; + + return $module->registerHook($newHooks); +}