From 1d7483bb6ebb6e03eb2cd70b284e47aa5096db45 Mon Sep 17 00:00:00 2001 From: Benjamin Rokseth Date: Thu, 23 Nov 2017 14:43:18 +0100 Subject: [PATCH] From 3dab1160c4b71bc6f6e9893427f59acb50f3500b Mon Sep 17 00:00:00 2001 From: Stefan Berndtsson Date: Thu,23 Nov 2017 12:10:00 UTC Subject: [PATCH] Bug 19651 - SIP/ILS/Item missing title Signed-off-by: Benjamin Rokseth --- 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..be6e538 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} = $item->biblio->title(); + $self->{author} = $item->biblio->author(); bless $self, $type; syslog( "LOG_DEBUG", "new ILS::Item('%s'): found with title '%s'", -- 2.7.4