From 97c40db0ebe5831f7b4587adc9336a3d9ce02d5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Vo=C5=99=C3=AD=C5=A1ek?= Date: Mon, 17 Jun 2024 12:18:22 +0200 Subject: [PATCH] Add "smallint" and "bigint" support to FilterModel --- src/Table/Column/FilterModel.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Table/Column/FilterModel.php b/src/Table/Column/FilterModel.php index 19df9467c9..0a3dfd85b7 100644 --- a/src/Table/Column/FilterModel.php +++ b/src/Table/Column/FilterModel.php @@ -54,7 +54,9 @@ public static function factoryType(App $app, Field $field): self Types::TEXT => FilterModel\TypeString::class, Types::BOOLEAN => FilterModel\TypeBoolean::class, + Types::SMALLINT => FilterModel\TypeNumber::class, Types::INTEGER => FilterModel\TypeNumber::class, + Types::BIGINT => FilterModel\TypeNumber::class, Types::FLOAT => FilterModel\TypeNumber::class, CustomTypes::MONEY => FilterModel\TypeNumber::class,