Fix #16896 - Distinct URLs are broken on nullable text fields
Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
parent
7ae7a83935
commit
6549c11361
@ -2950,7 +2950,9 @@ class Results
|
||||
// even for a string type
|
||||
// for decimal numeric is returning 1
|
||||
// have to improve logic
|
||||
if (($meta->numeric == 1 && $meta->type !== 'string') || $meta->type === 'real') {
|
||||
// Nullable text fields and text fields have the blob flag (issue 16896)
|
||||
$isNumericAndNotBlob = $meta->numeric == 1 && $meta->blob == 0;
|
||||
if (($isNumericAndNotBlob && $meta->type !== 'string') || $meta->type === 'real') {
|
||||
// n u m e r i c
|
||||
|
||||
$display_params['data'][$row_no][$i]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user