2 Jul
2024
2 Jul
'24
8:53 p.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37223 --- Comment #1 from Phil Ringnalda <phil@chetcolibrary.org> --- The unobvious thing behind "effectively deletes the batch" is that batches only exist by one or more items having a batch_id in the creator_batches table, where the primary key is label_id. C4::Labels::Batch->new sets batch_id to 0, and it stays that way until add_item is called, when batch_id is set to one more than SELECT MAX(batch_id) FROM creator_batches;. And deleting a batch consists of calling remove_item until they are all gone. -- You are receiving this mail because: You are watching all bug changes.