From 6a370b7737285fdf448f618577706da00281ba71 Mon Sep 17 00:00:00 2001 From: Maddy Chellathurai <mchellathura@magento.com> Date: Thu, 18 Feb 2016 15:37:10 -0600 Subject: [PATCH] MAGETWO-49469: Contribute Ogre Bugfixes and Stories for Sprint 44 - Javascript style change --- app/code/Magento/Ui/view/base/web/js/grid/search/search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/Ui/view/base/web/js/grid/search/search.js b/app/code/Magento/Ui/view/base/web/js/grid/search/search.js index a1efa8124ba..d495dbce660 100644 --- a/app/code/Magento/Ui/view/base/web/js/grid/search/search.js +++ b/app/code/Magento/Ui/view/base/web/js/grid/search/search.js @@ -45,7 +45,7 @@ define([ * @returns {Search} Chainable. */ initialize: function () { - var urlParams = window.location.href.slice(window.location.href.search("[\&\?](search=)")).split('&'), + var urlParams = window.location.href.slice(window.location.href.search('[\&\?](search=)')).split('&'), searchTerm = []; this._super() -- GitLab