]> git.koha-community.org Git - koha.git/commit
Bug 21982: Circulation statistics wizard does not count deleted items
authorJérémy Breuillard <jeremy.breuillard@biblibre.com>
Wed, 24 Nov 2021 15:56:09 +0000 (16:56 +0100)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Wed, 14 Sep 2022 09:53:57 +0000 (11:53 +0200)
commit3d303852809ef29b1cf2f192c614b90b15f8cd93
tree1560802b77175c4306ac6cc80cac205cabb66400
parentacd6e804c7d4dc4b0247b8da8a66f2ccad966e01
Bug 21982: Circulation statistics wizard does not count deleted items

By default statistic assistant filter is set on the
existing items and doesn't mind about deleted items.
The patch corrects this. Items belong to the same library.

Test plan:
1)Make sure to have at least 1 or more item(s) in deleteditems database table
2)Home > Reports > Circulation statistics
3)Fill up 'Issuing library', 'Home library' and 'Holding library'
4)Submit
5)Notice that only statistics for active items are shown
6)Apply patch and repeat from 2) to 5)
7)Now active items and deleted items are shown

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 610f287db9581bfa6d606468810792d25c6dc47b)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit c7b78eb133c6ff2bc57739fba5325a46ee289739)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
reports/issues_stats.pl