Skip to content

Commit 5bc55c6

Browse files
Merge remote-tracking branch '36663/patch-18' into comm_78764_36529
2 parents 94c5940 + 793a9fc commit 5bc55c6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/code/Magento/Customer/Test/Unit/Ui/Component/Listing/ColumnsTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ public function testPrepareWithAddColumn(): void
160160
public function testPrepareWithUpdateColumn(): void
161161
{
162162
$attributeCode = 'billing_attribute_code';
163-
$backendType = 'backend-type';
163+
$frontendInput = 'text';
164164
$attributeData = [
165165
'attribute_code' => 'billing_attribute_code',
166166
'frontend_input' => 'text',
@@ -211,7 +211,7 @@ public function testPrepareWithUpdateColumn(): void
211211
'config',
212212
[
213213
'name' => $attributeCode,
214-
'dataType' => $backendType,
214+
'dataType' => $frontendInput,
215215
'filter' => [
216216
'filterType' => 'text',
217217
'conditionType' => 'like',

app/code/Magento/Customer/Ui/Component/Listing/Columns.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ public function updateColumn(array $attributeData, $newAttributeCode)
171171
$component->getData('config'),
172172
[
173173
'name' => $newAttributeCode,
174-
'dataType' => $attributeData[AttributeMetadata::BACKEND_TYPE],
174+
'dataType' => $attributeData[AttributeMetadata::FRONTEND_INPUT],
175175
'visible' => (bool)$attributeData[AttributeMetadata::IS_VISIBLE_IN_GRID]
176176
]
177177
);

0 commit comments

Comments
 (0)