[Koha-bugs] [Bug 22683] Make issue and old_issue prefetchable from Koha::Account::Line
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Apr 15 11:37:14 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22683
--- Comment #3 from Josef Moravec <josef.moravec at gmail.com> ---
Comment on attachment 87751
--> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=87751
Bug 22683: Allow prefetch with Koha::Account::Line->checkouts
Review of attachment 87751:
--> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=22683&attachment=87751)
-----------------------------------------------------------------
::: Koha/Account/Line.pm
@@ +68,4 @@
>
> + my $old_issue_rs = $self->_result->old_issue;
> + return Koha::Old::Checkout->_new_from_dbic( $old_issue_rs ) if $old_issue_rs;
> + return undef;
should be only 'return;' I think...
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list