View | Details | Raw Unified | Return to bug 21683
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/columns.def (-1 lines)
Lines 108-114 Link Here
108
<field name="items.copynumber">Copy number</field>
108
<field name="items.copynumber">Copy number</field>
109
<field name="statistics.datetime">Statistics date and time</field>
109
<field name="statistics.datetime">Statistics date and time</field>
110
<field name="statistics.branch">Library</field>
110
<field name="statistics.branch">Library</field>
111
<field name="statistics.proccode">Type of procedure</field>
112
<field name="statistics.value">Value</field>
111
<field name="statistics.value">Value</field>
113
<field name="statistics.type">Type</field>
112
<field name="statistics.type">Type</field>
114
<field name="statistics.other"></field>
113
<field name="statistics.other"></field>
(-)a/t/db_dependent/Stats.t (-3 / +1 lines)
Lines 4-10 use Modern::Perl; Link Here
4
use C4::Stats;
4
use C4::Stats;
5
use Koha::Database;
5
use Koha::Database;
6
6
7
use Test::More tests => 19;
7
use Test::More tests => 18;
8
8
9
BEGIN {
9
BEGIN {
10
    use_ok('C4::Stats');
10
    use_ok('C4::Stats');
Lines 119-125 is ($params->{other}, $line->{other}, "UpdateStats save other Link Here
119
is ($params->{itemtype},       $line->{itemtype},       "UpdateStats save itemtype param in itemtype field of statistics table");
119
is ($params->{itemtype},       $line->{itemtype},       "UpdateStats save itemtype param in itemtype field of statistics table");
120
is ($params->{location},       $line->{location},       "UpdateStats save location param in location field of statistics table");
120
is ($params->{location},       $line->{location},       "UpdateStats save location param in location field of statistics table");
121
is ($params->{ccode},          $line->{ccode},          "UpdateStats save ccode param in ccode field of statistics table");
121
is ($params->{ccode},          $line->{ccode},          "UpdateStats save ccode param in ccode field of statistics table");
122
is (undef,                     $line->{proccode},       "UpdateStats save no proccode param in proccode field of statistics table");
123
122
124
$dbh->do(q|DELETE FROM statistics|);
123
$dbh->do(q|DELETE FROM statistics|);
125
$params = {
124
$params = {
126
- 

Return to bug 21683