[Koha-bugs] [Bug 24464] Add K::A::Basket->creator

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 20 18:29:48 CET 2020


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

--- Comment #12 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to Jonathan Druart from comment #10)
> Also, I think the method should reflect the lack of FK, something like:
> sub creator {
>     my ($self) = @_; 
>     my $borrowernumber = $self->authorisedby; # FIXME missing FK here
>     return unless $borrowernumber;
>     return Koha::Patrons->find( $self->authorisedby );
> }

Ok, will do.

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


More information about the Koha-bugs mailing list