[Koha-patches] [PATCH] Bug 5966 : MT 3010: Adds waiting date for holds in opac-user

Chris Cormack chrisc at catalyst.net.nz
Mon Mar 28 04:19:18 CEST 2011


From: Matthias Meusburger <matthias.meusburger at biblibre.com>

---
 opac/opac-user.pl |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/opac/opac-user.pl b/opac/opac-user.pl
index 6549e2a..5601e85 100755
--- a/opac/opac-user.pl
+++ b/opac/opac-user.pl
@@ -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'};
-- 
1.7.1



More information about the Koha-patches mailing list