Bug 21013: Missing itemtype for checkut makes patron summary print explode
authorOwen Leonard <oleonard@myacpl.org>
Thu, 14 Mar 2019 13:15:01 +0000 (13:15 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 10 Apr 2019 20:09:50 +0000 (20:09 +0000)
commitea7245631ebfb16d4921a6cf7b4b46799a241ff9
tree1edc90f0ae9ce55f492aa6daabf4cfbd44e913f9
parente90cb16d79f611caa3cd6d6cbbca4ea01d7a8077
Bug 21013: Missing itemtype for checkut makes patron summary print explode

This patch moves retrieval of the item type description from the script
to the template using the ItemTypes template plugin.

To test, apply the patch and locate an item which is checked out to
someone. Modify the database record for that item to remove the item
type (items.itype).

View the print summary for the patron who has that item checked out. The
page should display correctly. Checked-out items which have an item type
should show that item type description correctly.

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt
members/summary-print.pl