From 8dab71ac939525f70b5ed62fe70d25b3d8af3c35 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 Content-Type: text/plain; charset=utf-8 Signed-off-by: Benjamin Rokseth Signed-off-by: Marcel de Rooy Amended $item->biblio by $biblio. --- 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 84e7411..240e199 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'", -- 2.1.4