We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 269acc6 commit 806e9cfCopy full SHA for 806e9cf
app/code/Magento/CatalogSearch/view/frontend/web/js/search-terms-log.js
@@ -14,15 +14,11 @@ define([
14
*/
15
function urlParameters() {
16
var params = {},
17
- queryString = window.location.search,
18
- queries,
+ queries = window.location.search.substring(1).split('&'),
19
temp,
20
i,
21
l;
22
23
- queryString = queryString.substring(1);
24
- queries = queryString.split('&');
25
-
26
for (i = 0, l = queries.length; i < l; i++) {
27
temp = queries[i].split('=');
28
params[temp[0]] = temp[1];
0 commit comments