]> git.koha-community.org Git - koha.git/commit
Bug 27893: Optionally skip biblio with open orders in batch delete
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Mon, 19 Feb 2024 13:24:47 +0000 (13:24 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 19 Apr 2024 16:06:32 +0000 (18:06 +0200)
commit98a500d12005f854709676e1849d1acb9064dd6f
treec11346b130a6b408812160c1e5985723f6c2a10d
parent82a5b673e18ea423260d3699eed982980c5081aa
Bug 27893: Optionally skip biblio with open orders in batch delete

If the user unchecks the skip checkbox (on by default), we must
make sure that order cancellation is done in background job.

Test plan:
Pick two biblios. One has linked open orders, the other not.
Go to batch delete records. Select 'Enter list of numbers'.
Enter both biblio numbers and check that only one is used on the
follow-up form.
Run the deletion without the skip open orders and verify
that linked order line is cancelled.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Koha/BackgroundJob/BatchDeleteBiblio.pm
koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt
tools/batch_delete_records.pl