We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4b989b commit c805752Copy full SHA for c805752
app/code/Magento/Backend/Block/Widget/Grid/Massaction/AbstractMassaction.php
@@ -277,14 +277,8 @@ public function getGridIdsJson()
277
}
278
/** @var \Magento\Framework\Data\Collection $allIdsCollection */
279
$allIdsCollection = clone $this->getParentBlock()->getCollection();
280
-
281
- if ($this->getMassactionIdField()) {
282
- $massActionIdField = $this->getMassactionIdField();
283
- } else {
284
- $massActionIdField = $this->getParentBlock()->getMassactionIdField();
285
- }
286
287
- $gridIds = $allIdsCollection->setPageSize(0)->getColumnValues($massActionIdField);
+ $gridIds = $allIdsCollection->getAllIds();
+
288
if (!empty($gridIds)) {
289
return join(",", $gridIds);
290
0 commit comments