[Koha-bugs] [Bug 11230] New: Refactor C4::Stats::UpdateStats and add UT

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Nov 10 16:23:11 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11230

            Bug ID: 11230
           Summary: Refactor C4::Stats::UpdateStats and add UT
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Circulation
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: mathieu.saby at univ-rennes2.fr
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

I am not sure of the right Component for this bug.

I want to improve Statistics recording (adding some new fields, adding custom
fields, etc).

The first preliminary step is in this patch, which improves current code. An
other patch will provide new features.

This patch
- refactors C4::Stats::UpdateStats (it now takes a hashref as unique parameter,
instead of a list of parameters)
- add UT for it
- change the calls made to this sub in C4::Accounts and C4::Circulation

Also :
- adds POD to C4::Stats::TotalPaid
- adds some comments to C4::Stats::TotalPaid (I think I found some errors in
it)


M. Saby

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


More information about the Koha-bugs mailing list