diff --git a/dist/doofinder-p1.5-latest.zip b/dist/doofinder-p1.5-latest.zip index 89e6406..4e28c4f 100644 Binary files a/dist/doofinder-p1.5-latest.zip and b/dist/doofinder-p1.5-latest.zip differ diff --git a/doofinder.php b/doofinder.php index b7fc7bc..7334663 100644 --- a/doofinder.php +++ b/doofinder.php @@ -43,7 +43,7 @@ class Doofinder extends Module const GS_SHORT_DESCRIPTION = 1; const GS_LONG_DESCRIPTION = 2; - const VERSION = "2.1.3"; + const VERSION = "2.1.4"; const YES = 1; const NO = 0; diff --git a/js/doofinder-pagination_15.js b/js/doofinder-pagination_15.js index 0e22d48..2a71e44 100644 --- a/js/doofinder-pagination_15.js +++ b/js/doofinder-pagination_15.js @@ -1,3 +1,6 @@ +if(typeof(current_friendly_url) == 'undefined'){ + var current_friendly_url = ''; +} function paginationButton(nulled,nulled_1) { $('#pagination a').not(':hidden').each(function () { if ($(this).attr('href').search(/[&|\?]p=/) == -1) diff --git a/package.json b/package.json index cb9d447..40fff85 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "doofinder-for-prestashop", - "version": "2.1.3", + "version": "2.1.4", "devDependencies": { "grunt": "^0.4.5", "grunt-contrib-clean": "^0.5.0", diff --git a/views/templates/front/doofinder_facets.tpl b/views/templates/front/doofinder_facets.tpl index 94618c1..a56055f 100644 --- a/views/templates/front/doofinder_facets.tpl +++ b/views/templates/front/doofinder_facets.tpl @@ -26,8 +26,8 @@ {if $nbr_filterBlocks != 0}