From df2a3a9a3cf138bc11e2a39b4aad591d17359830 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 18 Jul 2011 15:38:13 -0400 Subject: [PATCH] Fix for Bug 6602 - Reports dictionary doesn't properly recognize text columns Reports dictionary won't let you set a comparison for MEDIUMTEXT columns. To test, choose a MEDIUMTEXT column like borrowers.surname in Step 3 of adding a new dictionary definition. Before the patch, in Step 4 you would not see any kind of form field for entering a comparison. After patching Step 4 will offer you a field labeled "Search string matches." Signed-off-by: Katrin Fischer Fixes described problem with mediumtext columns. Signed-off-by: Chris Cormack --- reports/dictionary.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reports/dictionary.pl b/reports/dictionary.pl index 393c91796a..4f94d6944a 100755 --- a/reports/dictionary.pl +++ b/reports/dictionary.pl @@ -115,7 +115,7 @@ elsif ($phase eq 'New Term step 4'){ if ($type eq 'DATE' || $type eq 'DATETIME'){ $tmp_hash{'date'}=1; } - if ($type eq 'TEXT'){ + if ($type eq 'TEXT' || $type eq 'MEDIUMTEXT'){ $tmp_hash{'text'}=1; } # else { -- 2.39.2