diff --git a/src/Grid/Mapper/ColumnMapper.php b/src/Grid/Mapper/ColumnMapper.php index 54051277..462fead9 100644 --- a/src/Grid/Mapper/ColumnMapper.php +++ b/src/Grid/Mapper/ColumnMapper.php @@ -38,6 +38,7 @@ 'published' => 'boolean', 'classname' => 'string', 'index' => 'integer', + 'mimetype' => 'string', ]; public function getType(string $column): string diff --git a/tests/Unit/Grid/Service/SystemColumnServiceTest.php b/tests/Unit/Grid/Service/SystemColumnServiceTest.php index 86e93439..c4a745fc 100644 --- a/tests/Unit/Grid/Service/SystemColumnServiceTest.php +++ b/tests/Unit/Grid/Service/SystemColumnServiceTest.php @@ -39,6 +39,7 @@ public function testGetSystemColumnsForAssets(): void 'creationDate' => 'datetime', 'modificationDate' => 'datetime', 'size' => 'fileSize', + 'mimetype' => 'string', ], $systemColumnService->getSystemColumnsForAssets()); }