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 808feed commit 7ced70eCopy full SHA for 7ced70e
app/code/Magento/Backend/Block/Widget/Grid/Massaction/Extended.php
@@ -274,7 +274,13 @@ public function getGridIdsJson()
274
275
/** @var \Magento\Framework\Data\Collection $allIdsCollection */
276
$allIdsCollection = clone $this->getParentBlock()->getCollection();
277
- $massActionIdField = $this->getParentBlock()->getMassactionIdField();
+
278
+ if($this->getMassactionIdField()) {
279
+ $massActionIdField = $this->getMassactionIdField();
280
+ }else {
281
+ $massActionIdField = $this->getParentBlock()->getMassactionIdField();
282
+ }
283
284
$gridIds = $allIdsCollection->setPageSize(0)->getColumnValues($massActionIdField);
285
286
if (!empty($gridIds)) {
0 commit comments