In installer/data/mysql/kohastructure.sql, the CREATE TABLE statement for statistics reads: DROP TABLE IF EXISTS `statistics`; CREATE TABLE `statistics` ( -- information related to transactions (circulation and fines) in Koha ... `type` varchar(16) default NULL, -- transaction type (locause, issue, return, renew, writeoff, payment, Credit*) ... There's a typo for 'locause', this should be 'localuse'. Also, 'Credit*' is never used. As far as I know, the list of valid values for statistics.type isn't documented anywhere else, so it's valuable to have these annotated correctly here.
Created attachment 76966 [details] [review] Bug 21017: Fix database documentation for statistics.type There's a typo for 'locause', this should be 'localuse'. Also, 'Credit*' is never used. https://bugs.koha-community.org/show_bug.cgi?id=20177
Created attachment 77320 [details] [review] Bug 21017: Fix database documentation for statistics.type There's a typo for 'locause', this should be 'localuse'. Also, 'Credit*' is never used. https://bugs.koha-community.org/show_bug.cgi?id=20177 https://bugs.koha-community.org/show_bug.cgi?id=21077 Signed-off-by: Maryse Simard <maryse.simard@inlibro.com>
Created attachment 77334 [details] [review] Bug 21077: Fix database documentation for statistics.type There's a typo for 'locause', this should be 'localuse'. Also, 'Credit*' is never used. Signed-off-by: Maryse Simard <maryse.simard@inlibro.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Fix pushed to master. Thanks!
Pushed to 18.05.x for 18.05.03.
Pushed to 17.11.x for 17.11.10