Shorten JSON values in select (bug #594)

This commit is contained in:
Jakub Vrana 2018-02-09 13:48:33 +01:00
parent 34d338b185
commit ffb4ee3a61
2 changed files with 4 additions and 1 deletions

View file

@ -1291,7 +1291,7 @@ function is_url($string) {
* @return bool
*/
function is_shortable($field) {
return preg_match('~char|text|lob|geometry|point|linestring|polygon|string|bytea~', $field["type"]);
return preg_match('~char|text|json|lob|geometry|point|linestring|polygon|string|bytea~', $field["type"]);
}
/** Get query to compute number of found rows

View file

@ -1,3 +1,6 @@
Adminer 4.6.2-dev:
Shorten JSON values in select (bug #594)
Adminer 4.6.1 (released 2018-02-09):
Sticky position of table actions
Speed up rendering of long tables (regression from 4.4.0)