Bug 7097: HidePatronName not hiding on issue history
authorIan Walls <ian.walls@bywatersolutions.com>
Thu, 5 Jan 2012 18:17:53 +0000 (13:17 -0500)
committerPaul Poulain <paul.poulain@biblibre.com>
Tue, 17 Jan 2012 17:02:00 +0000 (18:02 +0100)
commit5fde4694298b96639b935423f873c133e5cef3ef
tree0ad5595a536fc350dc8894ae01e30b0834332354
parent57515dfb33342e44ecefc6cd52a84ce98f77e237
Bug 7097: HidePatronName not hiding on issue history

HidePatronName wasn't being respected on a titles Checkout History tab.  This patch
exports the preference to the template (if set), and then toggles the display between
patron cardnumber (if 'on') or the name (if 'off')

To test:

Enable HidePatronName
Go to the Checkout History tab of an item that has been checked out before
You should see the patron's cardnumber instead of their surname, firstname

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
catalogue/issuehistory.pl
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt