diff --git a/resources/js/src/app/services/UrlService.js b/resources/js/src/app/services/UrlService.js index b78aba1856..edbc053da8 100644 --- a/resources/js/src/app/services/UrlService.js +++ b/resources/js/src/app/services/UrlService.js @@ -202,7 +202,7 @@ export function encodeParams(params, prefix) { return encodeURIComponent(params); } - return prefix + "=" + encodeURIComponent(params); + return encodeURIComponent(prefix) + "=" + encodeURIComponent(params); } export function setUrlByItem(itemData, keepVariationId)