From d86c4aa8943054be2b94990c9778eacff9ec4259 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Sat, 13 Nov 2010 14:08:58 -0500 Subject: [PATCH] Fix for Bug 4908 - OPAC patron details page doesn't show patron's home library Signed-off-by: Galen Charlton Signed-off-by: Chris Cormack --- koha-tmpl/opac-tmpl/prog/en/modules/opac-userupdate.tmpl | 1 + opac/opac-userupdate.pl | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-userupdate.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-userupdate.tmpl index 64c81f2331..db9c416bcc 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-userupdate.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-userupdate.tmpl @@ -73,6 +73,7 @@ Library Use:
  1. " />
  2. +
  3. " />
  4. " />
  5. ()" />
  6. " />
  7. diff --git a/opac/opac-userupdate.pl b/opac/opac-userupdate.pl index b38a477a4b..a9d01011a0 100755 --- a/opac/opac-userupdate.pl +++ b/opac/opac-userupdate.pl @@ -147,9 +147,10 @@ EOF } $borr->{'dateenrolled'} = format_date( $borr->{'dateenrolled'} ); -$borr->{'dateexpiry'} = format_date( $borr->{'dateexpiry'} ); +$borr->{'dateexpiry'} = format_date( $borr->{'dateexpiry'} ); $borr->{'dateofbirth'} = format_date( $borr->{'dateofbirth'} ); $borr->{'ethnicity'} = fixEthnicity( $borr->{'ethnicity'} ); +$borr->{'branchcode'} = GetBranchName($borr->{'branchcode'}); if (C4::Context->preference('ExtendedPatronAttributes')) { my $attributes = C4::Members::Attributes::GetBorrowerAttributes($borrowernumber, 'opac'); -- 2.39.5