From ffb4ee3a616f7e66934830bab38e4aecc71cdb0f Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Fri, 9 Feb 2018 13:48:33 +0100 Subject: [PATCH] Shorten JSON values in select (bug #594) --- adminer/include/functions.inc.php | 2 +- changes.txt | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/adminer/include/functions.inc.php b/adminer/include/functions.inc.php index debce630..0dc638d8 100644 --- a/adminer/include/functions.inc.php +++ b/adminer/include/functions.inc.php @@ -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 diff --git a/changes.txt b/changes.txt index 85f25860..0b104a64 100644 --- a/changes.txt +++ b/changes.txt @@ -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)