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

Julian Maurice julian.maurice at biblibre.com
Mon Mar 28 10:29:46 CEST 2011


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


Signed-off-by: Julian Maurice <julian.maurice 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 634b77a..a6322bd 100755
--- a/opac/opac-user.pl
+++ b/opac/opac-user.pl
@@ -194,6 +194,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.4.1



More information about the Koha-patches mailing list