Skip to content

Commit 743fecc

Browse files
author
Roman Lytvynenko
committed
MAGETWO-99890: Cannot use the mass update action with the Select All option to assign more than the number of displayed products per page to a website
1 parent 885c739 commit 743fecc

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

app/code/Magento/Ui/view/base/web/js/grid/massactions.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -153,11 +153,6 @@ define([
153153
var itemsType = data.excludeMode ? 'excluded' : 'selected',
154154
selections = {};
155155

156-
if (itemsType === 'excluded' && data.selected && data.selected.length) {
157-
itemsType = 'selected';
158-
data[itemsType] = _.difference(data.selected, data.excluded);
159-
}
160-
161156
selections[itemsType] = data[itemsType];
162157

163158
if (!selections[itemsType].length) {

0 commit comments

Comments
 (0)