]> git.koha-community.org Git - koha.git/commit
Bug 6602 - Reports dictionary doesn't properly recognize text columns
authorOwen Leonard <oleonard@myacpl.org>
Tue, 20 Nov 2012 18:53:43 +0000 (13:53 -0500)
committerChris Cormack <chris@bigballofwax.co.nz>
Sun, 2 Dec 2012 06:19:49 +0000 (19:19 +1300)
commit149bc595e8bd0191f66686958d7a49b212935e96
tree7f072c22a57e7e2f083441fe59b540b03f666885
parent008f6eabab41b805e249f83090b8f8ca0855a9ca
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 <melia@test.bywatersolutions.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
All tests and perlcritic pass.

Test plan:
1) Reports > Reports dictionary > New definition
2) Step 1: Some name
3) Step 2: Patrons
4) Step 3: First name (mediumtext)
5) Step 4: Verify 'Search string matches' is offered.

For both, surname (mediumtext) and first name (text) the program should offer you
"Search string matches" on step 4.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
reports/dictionary.pl