From 2fe0a816fe64361a07ad8e4dc09f942ec2428666 Mon Sep 17 00:00:00 2001 From: Stefan Berndtsson Date: Thu, 23 Nov 2017 14:43:18 +0100 Subject: [PATCH] Bug 19651: SIP/ILS/Item misses title and author Signed-off-by: Benjamin Rokseth Signed-off-by: Marcel de Rooy Amended $item->biblio by $biblio. Signed-off-by: Jonathan Druart --- C4/SIP/ILS/Item.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/C4/SIP/ILS/Item.pm b/C4/SIP/ILS/Item.pm index 84e7411ef2..240e1990a0 100644 --- a/C4/SIP/ILS/Item.pm +++ b/C4/SIP/ILS/Item.pm @@ -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'",