[Koha-bugs] [Bug 15563] Cronjob to regularly delete patroncard and label batches
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Apr 15 16:09:41 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15563
Andrew Fuerste-Henry <andrew at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #102948|0 |1
is obsolete| |
Attachment #103004|0 |1
is obsolete| |
--- Comment #8 from Andrew Fuerste-Henry <andrew at bywatersolutions.com> ---
Created attachment 103011
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=103011&action=edit
Bug 15563: Add label batch deletion to cleanup_database
To test:
Apply patch
1- create a label batch with multiple items
2- update creator_batches to change timestamp on some items in batch 1 to more
than 2 days ago
3- create a second label batch with multiple items
4- update creator_batches to change timestamp on all items in batch 2 to more
than 2 days ago
5- create a patron card batch with multiple patrons
6- update creator_batches to change timestamp on some items to more than 2 days
ago
7- run cron with --labels 2
8- confirm all labels with timestamp more than 2 days ago were deleted
9- confirm newer labels were not deleted
10- confirm batch 2 no longer shows in label creator
11- confirm no patrons card batches were changed
Signed-off-by: Kelly McElligott <kelly at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list