Skip to content

Instantly share code, notes, and snippets.

View eerohakio's full-sized avatar

Eero Hakio eerohakio

View GitHub Profile
--- a/Controller/Rest/Asynchronous/InputParamsResolver.php 2022-03-08 02:52:02.000000000 +0200
+++ b/Controller/Rest/Asynchronous/InputParamsResolver.php 2022-08-17 08:48:41.000000000 +0300
@@ -113,12 +113,13 @@
$this->requestValidator->validate();
$webapiResolvedParams = [];
+ $inputData = $this->getInputData();
$route = $this->getRoute();
$routeServiceClass = $route->getServiceClass();
$routeServiceMethod = $route->getServiceMethod();
@eerohakio
eerohakio / 29817-shipping-package-grid.patch
Created March 10, 2022 07:18
Magento 2 issue 29817 patch
diff --git a/vendor/magento/module-shipping/view/adminhtml/templates/order/packaging/grid.phtml b/vendor/magento/module-shipping/view/adminhtml/templates/order/packaging/grid.phtml
index 7ddfc068..cf30e0e2 100644
--- a/vendor/magento/module-shipping/view/adminhtml/templates/order/packaging/grid.phtml
+++ b/vendor/magento/module-shipping/view/adminhtml/templates/order/packaging/grid.phtml
@@ -60,7 +60,7 @@
<?php endif; ?>
<tr class="data-grid-controls-row data-row <?= ($i++ % 2 != 0) ? '_odd-row' : '' ?>">
<td class="data-grid-checkbox-cell">
- <?php $id = $item->getId() ?? $item->getOrderItemId(); ?>
+ <?php $id = $item->getOrderItemId() ?? $item->getId(); ?>
@eerohakio
eerohakio / keybase.md
Created September 10, 2019 14:31
keybase.md

Keybase proof

I hereby claim:

  • I am eerohakio on github.
  • I am eerohakio (https://keybase.io/eerohakio) on keybase.
  • I have a public key ASCpwty2XoR3U-hbSxedlFqU8WaxkwaGSBg7s78Vz3l0Ewo

To claim this, I am signing this object: