[Koha-bugs] [Bug 21077] New: Fix comment for statistics.type in installer/data/mysql/kohastructure.sql

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 13 23:15:12 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21077

            Bug ID: 21077
           Summary: Fix comment for statistics.type in
                    installer/data/mysql/kohastructure.sql
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Developer documentation
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: barton at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

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.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list