Bug 6472: HidePatronName on detail page broken
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Mon, 6 Jun 2011 21:32:28 +0000 (23:32 +0200)
committerChris Cormack <chrisc@catalyst.net.nz>
Wed, 8 Jun 2011 02:28:21 +0000 (14:28 +1200)
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.

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt

index 97cb22c..39c2cd3 100644 (file)
@@ -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 %]