[Koha-bugs] [Bug 28960] EDI transfer_items uses a relationship where it's looking for a field
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Sep 9 10:59:23 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28960
--- Comment #3 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Isn't the correct fix to call $item->home_branch->branchcode?
>From Koha::Item
sub home_branch {
my ($self) = @_;
$self->{_home_branch} ||= Koha::Libraries->find( $self->homebranch() );
return $self->{_home_branch};
}
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list