Skip to content

Commit 0810a4a

Browse files
author
Shikha Mishra
committed
Updated AbstractMassaction.php
called new function named getAllColumnValues for getting all collection values for specific field
1 parent c0ea9e4 commit 0810a4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Backend/Block/Widget/Grid/Massaction/AbstractMassaction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ public function getGridIdsJson()
281281
} else {
282282
$massActionIdField = $this->getParentBlock()->getMassactionIdField();
283283
}
284-
$gridIds = $allIdsCollection->setPageSize(0)->getColumnValues($massActionIdField);
284+
$gridIds = $allIdsCollection->setPageSize(0)->getAllColumnValues($massActionIdField);
285285

286286
if (!empty($gridIds)) {
287287
return join(",", $gridIds);

0 commit comments

Comments
 (0)