Bug 19651: SIP/ILS/Item misses title and author

Signed-off-by: Benjamin Rokseth <bensinober@gmail.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Amended $item->biblio by $biblio.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Stefan Berndtsson 2017-11-23 14:43:18 +01:00 committed by Jonathan Druart
parent 6a4b36bc3a
commit 2fe0a816fe

View file

@ -102,6 +102,8 @@ sub new {
$self->{hold_queue} = $holds;
$self->{hold_shelf} = [( grep { defined $_->{found} and $_->{found} eq 'W' } @{$self->{hold_queue}} )];
$self->{pending_queue} = [( grep {(! defined $_->{found}) or $_->{found} ne 'W' } @{$self->{hold_queue}} )];
$self->{title} = $biblio->title;
$self->{author} = $biblio->author;
bless $self, $type;
syslog( "LOG_DEBUG", "new ILS::Item('%s'): found with title '%s'",