From c95be3adae1310396365bbf2f3812194b71b0a6c Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Fri, 19 Jul 2013 14:10:16 -0700 Subject: [PATCH] Elastic: Shorten strings --- adminer/include/functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adminer/include/functions.inc.php b/adminer/include/functions.inc.php index 920756d4..b920db16 100644 --- a/adminer/include/functions.inc.php +++ b/adminer/include/functions.inc.php @@ -1000,7 +1000,7 @@ function is_url($string) { * @return bool */ function is_shortable($field) { - return ereg('char|text|lob|geometry|point|linestring|polygon', $field["type"]); + return ereg('char|text|lob|geometry|point|linestring|polygon|string', $field["type"]); } /** Get query to compute number of found rows