mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 15:47:00 +02:00
Elastic: Shorten strings
This commit is contained in:
@@ -1000,7 +1000,7 @@ function is_url($string) {
|
|||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
function is_shortable($field) {
|
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
|
/** Get query to compute number of found rows
|
||||||
|
Reference in New Issue
Block a user