[Bug 11530] Recalculating a book's total issue count from items.issues or statistics-table with update_totalissues.pl ignores deleted_items.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11530 --- Comment #3 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- Created attachment 175880 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175880&action=edit Bug 11530: Add a use-deleted-items option to totalissues.pl Some libraries would like to keep the usage from deleted items when calculating total issues from the items. To test: 0 - Apply patch 1 - Checkout/Check in an item several times 2 - perl misc/cronjobs/update_totalissues.pl --use-items 3 - Note the 942$o in the record has the correct count 4 - Delete the item 5 - perl misc/cronjobs/update_totalissues.pl --use-items 6 - Note record count now goes to 0 8 - perl misc/cronjobs/update_totalissues.pl --use-items --use-deleted-items 9 - Note record count correctly restored -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org