https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23260 --- Comment #47 from Jonathan Druart <jonathan.druart@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.