Bug 5966 : MT 3010: Adds waiting date for holds in opac-user
authorMatthias Meusburger <matthias.meusburger@biblibre.com>
Mon, 28 Mar 2011 08:29:46 +0000 (10:29 +0200)
committerChris Cormack <chrisc@catalyst.net.nz>
Mon, 28 Mar 2011 08:46:56 +0000 (21:46 +1300)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>

opac/opac-user.pl

index 6549e2a..5601e85 100755 (executable)
@@ -195,6 +195,7 @@ foreach my $res (@reserves) {
     my $publictype = $res->{'publictype'};
     $res->{$publictype} = 1;
     $res->{'waiting'} = 1 if $res->{'found'} eq 'W';
+    $res->{'formattedwaitingdate'} = format_date($res->{'waitingdate'});
     $res->{'branch'} = $branches->{ $res->{'branchcode'} }->{'branchname'};
     my $biblioData = GetBiblioData($res->{'biblionumber'});
     $res->{'reserves_title'} = $biblioData->{'title'};