Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public function testPrepareWithAddColumn(): void
public function testPrepareWithUpdateColumn(): void
{
$attributeCode = 'billing_attribute_code';
$backendType = 'backend-type';
$frontendInput = 'text';
$attributeData = [
'attribute_code' => 'billing_attribute_code',
'frontend_input' => 'text',
Expand Down Expand Up @@ -211,7 +211,7 @@ public function testPrepareWithUpdateColumn(): void
'config',
[
'name' => $attributeCode,
'dataType' => $backendType,
'dataType' => $frontendInput,
'filter' => [
'filterType' => 'text',
'conditionType' => 'like',
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Customer/Ui/Component/Listing/Columns.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public function updateColumn(array $attributeData, $newAttributeCode)
$component->getData('config'),
[
'name' => $newAttributeCode,
'dataType' => $attributeData[AttributeMetadata::BACKEND_TYPE],
'dataType' => $attributeData[AttributeMetadata::FRONTEND_INPUT],
'visible' => (bool)$attributeData[AttributeMetadata::IS_VISIBLE_IN_GRID]
]
);
Expand Down