Bug 7407: HidePatronName not working on 'on hold for' messages

HidePatronName was not working on 'on hold for' messages, only 'checked out to'
messages.  This resulted in the patrons name showing if the item was on hold for
them.

T:T scope issue; needs to be within itemloo.  This patch does that.
Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
(cherry picked from commit b08ccda99d)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
This commit is contained in:
Ian Walls 2012-01-05 14:10:52 -05:00 committed by Chris Nighswonger
parent d297f4d267
commit c0cdbed5da
1 changed files with 1 additions and 1 deletions

View File

@ -334,7 +334,7 @@ function verify_images() {
Item-level hold
[% END %]
[% IF ( canreservefromotherbranches ) %]for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% itemloo.ReservedForBorrowernumber %]">
[% IF ( hidepatronname ) %]
[% IF ( itemloo.hidepatronname ) %]
[% itemloo.Reservedcardnumber %]
[% ELSE %]
[% itemloo.ReservedForFirstname %] [% itemloo.ReservedForSurname %]