]> git.joonet.de Git - adminer.git/commitdiff
Elastic: Shorten strings
authorJakub Vrana <jakub@vrana.cz>
Fri, 19 Jul 2013 21:10:16 +0000 (14:10 -0700)
committerJakub Vrana <jakub@vrana.cz>
Fri, 19 Jul 2013 21:11:54 +0000 (14:11 -0700)
adminer/include/functions.inc.php

index 920756d4a044c202b0580cf2ce01bef252be64dd..b920db169608401af9a98a35f975da237f6a9725 100644 (file)
@@ -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