From 8ade887f3dc56d0d7f3185b1372baa9842e7ec4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Zapletal?= Date: Sun, 29 Sep 2024 16:45:30 +0200 Subject: [PATCH] Added int column as default numeric column --- src/Collection/Helper/ColumnCreator.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Collection/Helper/ColumnCreator.php b/src/Collection/Helper/ColumnCreator.php index 70c62f9..e8f4156 100644 --- a/src/Collection/Helper/ColumnCreator.php +++ b/src/Collection/Helper/ColumnCreator.php @@ -62,6 +62,7 @@ public static function create(string $type, string $key, bool $visible, bool $so Types::DATETIMETZ_MUTABLE, Types::DATETIMETZ_IMMUTABLE => new DateTimeColumn(key: $key, name: $key, sortable: $sortable, visible: $visible), + 'int', Types::FLOAT, Types::INTEGER, Types::SMALLINT => new NumericColumn(key: $key, name: $key, sortable: $sortable, visible: $visible),