Bug 32894: Koha::Biblio->biblioitem
Can we do better here?
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 994132a60a)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
143c0e59c8
commit
e91d18fcdd
|
|
@ -579,10 +579,7 @@ Returns the related Koha::Biblioitem object for this Biblio object
|
|||
|
||||
sub biblioitem {
|
||||
my ($self) = @_;
|
||||
|
||||
$self->{_biblioitem} ||= Koha::Biblioitems->find( { biblionumber => $self->biblionumber() } );
|
||||
|
||||
return $self->{_biblioitem};
|
||||
return Koha::Biblioitems->find( { biblionumber => $self->biblionumber } );
|
||||
}
|
||||
|
||||
=head3 suggestions
|
||||
|
|
|
|||
Loading…
Reference in New Issue