Revert fix for #16783 to Fix #16874 and Fix #16802 and fix back #16783

This reverts 176ff6a99c
Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
William Desportes 2021-05-03 01:44:26 +02:00
parent c765ecde74
commit 27a9986a1b
No known key found for this signature in database
GPG Key ID: 90A0EF1B8251A889

View File

@ -3755,6 +3755,7 @@ class Results
// Cut all fields to $GLOBALS['cfg']['LimitChars']
// (unless it's a link-type transformation or binary)
$originalDataForWhereClause = $column;
$displayedColumn = $column;
if (! (is_object($transformation_plugin)
&& strpos($transformation_plugin->getName(), 'Link') !== false)
@ -3762,7 +3763,7 @@ class Results
) {
[
$is_field_truncated,
$displayedColumn,
$column,
$original_length,
] = $this->getPartialText($column);
}
@ -3836,7 +3837,7 @@ class Results
|| $bool_nowrap ? 'nowrap' : 'pre_wrap';
$where_comparison = ' = \''
. $dbi->escapeString($column)
. $dbi->escapeString($originalDataForWhereClause)
. '\'';
return $this->getRowData(