Skip to content

Commit

Permalink
Add mimeType to asset grid.
Browse files Browse the repository at this point in the history
  • Loading branch information
martineiber committed Jan 7, 2025
1 parent 05814a2 commit 7c8eb3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Grid/Mapper/ColumnMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
'published' => 'boolean',
'classname' => 'string',
'index' => 'integer',
'mimetype' => 'string',
];

public function getType(string $column): string
Expand Down
1 change: 1 addition & 0 deletions tests/Unit/Grid/Service/SystemColumnServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public function testGetSystemColumnsForAssets(): void
'creationDate' => 'datetime',
'modificationDate' => 'datetime',
'size' => 'fileSize',
'mimetype' => 'string',
], $systemColumnService->getSystemColumnsForAssets());
}

Expand Down

0 comments on commit 7c8eb3b

Please sign in to comment.