[Koha-patches] [PATCH] [SIGNED-OFF] Bug 642: HidePatronName on detail page broken
Nicole C. Engard
nengard at bywatersolutions.com
Mon Jun 6 10:21:08 CEST 2011
From: Katrin Fischer <Katrin.Fischer.83 at web.de>
TT issue
To test:
- Check out an item to a patron
- Go to detail page of the title in intranet
- Normal view will show cardnumber when HidePatronName is activated
- Normal view will show patron's name, when HidePatronName is off
Hold page was not broken.
http://bugs.koha-community.org/show_bug.cgi?id=6472
Signed-off-by: Nicole C. Engard <nengard at bywatersolutions.com>
---
.../prog/en/modules/catalogue/detail.tt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
index 97cb22c..39c2cd3 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
@@ -273,7 +273,7 @@ function verify_images() {
<span class="datedue">Checked out
[% UNLESS ( itemloo.NOTSAMEBRANCH ) %]
to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% itemloo.borrowernumber %]">
- [% IF ( hidepatronname ) %]
+ [% IF ( itemloo.hidepatronname ) %]
[% itemloo.cardnumber %]
[% ELSE %]
[% itemloo.firstname %] [% itemloo.surname %]
--
1.7.2.3
More information about the Koha-patches
mailing list