Skip to content

Commit 3249122

Browse files
committed
ACP2E-3149: Double slashes in customer segment URL
1 parent 99b50d3 commit 3249122

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/web/mage/adminhtml/grid.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ define([
563563
resetFilter: function (callback) {
564564
let resetUrl = this.addVarToUrl(this.filterVar, '');
565565

566-
resetUrl = resetUrl.replace(/([^:]\/)\/+/g, '$1');
566+
resetUrl = resetUrl.replace('filter//', '');
567567
this.reload(resetUrl, callback);
568568
},
569569

0 commit comments

Comments
 (0)