Skip to content

Commit f38ceaf

Browse files
committed
Fix for the issue #23465
1 parent 0714971 commit f38ceaf

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

app/code/Magento/Ui/Model/Export/MetadataProvider.php

100644100755
Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,6 @@ public function getHeaders(UiComponentInterface $component)
119119
$row[] = $column->getData('config/label');
120120
}
121121

122-
array_walk($row, function (&$header) {
123-
if (mb_strpos($header, 'ID') === 0) {
124-
$header = '"' . $header . '"';
125-
}
126-
});
127-
128122
return $row;
129123
}
130124

app/code/Magento/Ui/Test/Unit/Model/Export/MetadataProviderTest.php

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public function testGetHeaders(array $columnLabels, array $expected): void
9797
public function getColumnsDataProvider(): array
9898
{
9999
return [
100-
[['ID'],['"ID"']],
100+
[['ID'],['ID']],
101101
[['Name'],['Name']],
102102
[['Id'],['Id']],
103103
[['id'],['id']],

0 commit comments

Comments
 (0)