[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
Tue Apr 14 17:36:19 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15563

--- Comment #3 from Andrew Fuerste-Henry <andrew at bywatersolutions.com> ---
Deleting batches is complicated a bit by the table structure. There's no table
for batches, it's just a column in the table that holds the individual items.
So there's no timestamp for a given batch, just a bunch of timestamps for
individual items. I've sidestepped that by deleting items rather than batches.
If all items in a given batch are gone, the batch is gone. This does mean you
could have a batch where items were added at different times and therefore part
of the batch is deleted and part remains.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list