diff --git a/view/frontend/web/js/navigation-form.js b/view/frontend/web/js/navigation-form.js index a761afaa..03a05c1c 100644 --- a/view/frontend/web/js/navigation-form.js +++ b/view/frontend/web/js/navigation-form.js @@ -180,10 +180,13 @@ define([ var href = aElement.attr('href'); if (this.options.seoEnabled) { var seoHref = aElement.data('seo-href'); - return seoHref ? seoHref : href; + href = seoHref ? seoHref : href; } - return href; + let url = new URL(href, window.location.origin); + url.search = this._getFilterParameters(); + + return url.toString(); }, /**