Bug 14531 - Check-in statistical report broken
Summary: Check-in statistical report broken
Status: RESOLVED DUPLICATE of bug 14598
Alias: None
Product: Koha
Classification: Unclassified
Component: Reports (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal (vote)
Assignee: Galen Charlton
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-14 14:22 UTC by Tomás Cohen Arazi
Modified: 2015-08-05 18:30 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
Correct (checkouts) (552.95 KB, image/png)
2015-07-14 14:25 UTC, Tomás Cohen Arazi
Details
Wrong (checkins) (552.59 KB, image/png)
2015-07-14 14:26 UTC, Tomás Cohen Arazi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomás Cohen Arazi 2015-07-14 14:22:15 UTC
The check-ins statistical report shows wrong data (at least) if you choose itemtype -> column and grouping by month.

Steps to reproduce:
- Go to Reports > Circulation statistics
- Choose a period (row) when there is circulation
- Choose to group 'Checkout' by month
- Run report
=> SUCCESS: you see checkouts numbers by month and by item type
- Go back and choose to group 'Checkin' by month
- Run report
=> FAILURE: you see all cells contain zeros (and they shouldn't) and there is a weird NULL column, with the sum of the checkins (same value as 'Total' column).
Comment 1 Tomás Cohen Arazi 2015-07-14 14:23:01 UTC
I tested this and it goes back (at least) up to 3.12.x
Comment 2 Tomás Cohen Arazi 2015-07-14 14:25:50 UTC
Created attachment 40991 [details]
Correct (checkouts)
Comment 3 Tomás Cohen Arazi 2015-07-14 14:26:09 UTC
Created attachment 40992 [details]
Wrong (checkins)
Comment 4 Tomás Cohen Arazi 2015-07-14 14:31:24 UTC
I forgot to add a step: choose to group by itemtypes in columns.
Comment 5 Tomás Cohen Arazi 2015-08-05 18:30:44 UTC

*** This bug has been marked as a duplicate of bug 14598 ***