mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 15:47:00 +02:00
Shorten JSON values in select (bug #594)
This commit is contained in:
@@ -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
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user