]> git.koha-community.org Git - koha.git/commit
Bug 16653: Display number of checkouts when exporting 'Most-circulated items' as CSV
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 7 Jun 2018 14:47:46 +0000 (11:47 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 4 Jul 2018 07:00:04 +0000 (09:00 +0200)
commitad6b2e8dc16fd4e4295ff53a5d3b61b72e71d59d
treecc42d44251531631d67dbe77f4d7ed9a61fdb8ff
parent3e0ccc346ca6f6b758b88cd0d4f09c2e6bdb44e4
Bug 16653: Display number of checkouts when exporting 'Most-circulated items' as CSV

reports/cat_issues_top.pl does not export "Count of checkouts" column as CSV

To replicate:

1/ Make sure that test instance has circulation in a given date range
2/ Go to Home › Reports › Most-circulated items
3/ Select a date range
4/ Select 'To screen into the browser' radio button, click submit.
5/ Note that Columns 'Rank/Biblioitemnumbers', 'Global' and 'Count of checkouts' appear in screen output.
6/ Click the browser's back button
7/ Change output to 'To a file', click submit.

Without this patch:
the columns "100/", "Global" and "Total" are exported to the CSV file.
"100/" contains the rank, "Global" is still global, and the "Total" column is empty.

With this patch patch applied, the last column is filled and the "Total" line is removed

(This script is really dirty)

Signed-off-by: Pierre-Luc Lapointe <pierreluc.lapointe@inLibro.com>
(Yes it is)

Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 5bb6b6581c9385d693194338db3e7865d2c28409)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
reports/cat_issues_top.pl