From fa466c0b6ff8b9a7ee5c03eaeec82bb8f82f67ce Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 20 Nov 2012 13:53:43 -0500 Subject: [PATCH] [Signed off] 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: Melia Meggs --- reports/dictionary.pl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/reports/dictionary.pl b/reports/dictionary.pl index aae96c9..f27ce10 100755 --- a/reports/dictionary.pl +++ b/reports/dictionary.pl @@ -108,7 +108,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; } -- 1.7.2.5