Skip to content

Commit c23a55c

Browse files
author
Shikha Mishra
authored
Updated AbstractMassaction.php
called new function named getAllColumnValues for getting all collection values for specific field
1 parent daf5fb9 commit c23a55c

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
@@ -282,7 +282,7 @@ public function getGridIdsJson()
282282
} else {
283283
$massActionIdField = $this->getParentBlock()->getMassactionIdField();
284284
}
285-
$gridIds = $allIdsCollection->setPageSize(0)->getColumnValues($massActionIdField);
285+
$gridIds = $allIdsCollection->setPageSize(0)->getAllColumnValues($massActionIdField);
286286

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

0 commit comments

Comments
 (0)