Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 2321610

Browse files
author
Oleksii Korshenko
authored
Merge pull request #1693 from magento-engcom/develop-prs
Public Pull Requests magento/magento2#12065 Adjustments values were not loaded after the ajax refresh triggered by the "Update Qty's" button by @nikoelgatito magento/magento2#11541 Fixed missing 'size' and 'type' props on a third-party category images by @vovayatsyuk
2 parents 5e00970 + 3541d8d commit 2321610

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/code/Magento/Catalog/Model/Category/DataProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -494,8 +494,8 @@ private function convertValues($category, $categoryData)
494494

495495
$categoryData[$attributeCode][0]['name'] = $fileName;
496496
$categoryData[$attributeCode][0]['url'] = $category->getImageUrl($attributeCode);
497-
$categoryData['image'][0]['size'] = isset($stat) ? $stat['size'] : 0;
498-
$categoryData['image'][0]['type'] = $mime;
497+
$categoryData[$attributeCode][0]['size'] = isset($stat) ? $stat['size'] : 0;
498+
$categoryData[$attributeCode][0]['type'] = $mime;
499499
}
500500
}
501501
}

app/code/Magento/Sales/view/adminhtml/templates/order/creditmemo/create/totals/adjustments.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<td>
2525
<input type="text"
2626
name="creditmemo[adjustment_positive]"
27-
value="<?= /* @escapeNotVerified */ $_source->getBaseAdjustmentFeePositive()*1 ?>"
27+
value="<?= /* @escapeNotVerified */ $_source->getBaseAdjustmentPositive()*1 ?>"
2828
class="input-text admin__control-text not-negative-amount"
2929
id="adjustment_positive" />
3030
</td>
@@ -34,7 +34,7 @@
3434
<td>
3535
<input type="text"
3636
name="creditmemo[adjustment_negative]"
37-
value="<?= /* @escapeNotVerified */ $_source->getBaseAdjustmentFeeNegative()*1 ?>"
37+
value="<?= /* @escapeNotVerified */ $_source->getBaseAdjustmentNegative()*1 ?>"
3838
class="input-text admin__control-text not-negative-amount"
3939
id="adjustment_negative"/>
4040
<script>

0 commit comments

Comments
 (0)