[Koha-bugs] [Bug 23260] Anonymize (remove) patron data from items_last_borrower

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 19 08:29:45 CET 2019


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

--- Comment #47 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to Agustín Moyano from comment #46)
> (In reply to Jonathan Druart from comment #43)
> > Why $class->_resultset->search instead of $self->search?
> 
> I believe that's a question only you can reply (bug 16966 -
> https://bugs.koha-community.org/bugzilla3/attachment.
> cgi?id=60705&action=diff#a/Koha/Patrons.pm_sec1) ;P
> 
> on a firt attempt, I copied what search_patron_to_anonymize does, but then
> in follow-up removed it from Patrons and placed it in LastPatrons without
> $class->_resultset->search.


Heh ok, fair enough. I do not think it's correct (not incorrect either). We
should return $class->search(), as you did then!

I am still not happy with that new module. I do not think it really makes
sense.

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


More information about the Koha-bugs mailing list