From: Owen Leonard <[email protected]> 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 <[email protected]> Fixes described problem with mediumtext columns. --- reports/dictionary.pl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/reports/dictionary.pl b/reports/dictionary.pl index 393c917..4f94d69 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 { -- 1.7.4.1 _______________________________________________ Koha-patches mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
