[Koha-bugs] [Bug 14504] Add command-line script to batch delete items based on lost/withdrawn statuses
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Oct 21 15:58:45 CEST 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14504
--- Comment #12 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
I think an even better solution would be to do the job in a transaction and
rollback if the commit flag is not there.
So it would be something like:
start transaction
foreach items:
is_deleted = DelItemCheck
display error unless is_deleted
if commit flag:
commit
else:
rollback
What do you think about that?
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list