[Koha-bugs] [Bug 33229] Patron reading history should be cleared when privacy set to never

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 22 15:23:11 CET 2023


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

--- Comment #8 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
(In reply to Nick Clemens from comment #7)
> (In reply to Jonathan Druart from comment #6)
> > Nick, I don't understand why you need a txn here. Do you agree with removing
> > it?
> 
> My assumption was that I copied it from somewhere, but I don't see that.
> 
> Possibly I thought we didn't want partial deletion? But if we are trying to
> anonymize i suppose removing some is better than none

It's done in a single query
104     return $self->update( { borrowernumber => $anonymous_id }, {
no_triggers => 1 } );
So it's either all or none.

Anyway, thanks for you reply!

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


More information about the Koha-bugs mailing list