@@ -, +, @@ - Add an item level hold - Go to patron details and look at the "Check out" tab - Click on the "Holds" horizontal tab and verify the item type is shown in a column between "Title" and "Call number" - Go to the "Details" tab - Click on the "Holds" horizontal tab and verify the display is the same as above - Make a record level hold and verify the item type is not shown in the tables described above - Check in an item from the record level hold, so it is "waiting" for the patron - Verify the item type is now shown in the same way as for the item level hold, as described above --- .../intranet-tmpl/prog/en/modules/circ/circulation.tt | 1 + .../intranet-tmpl/prog/en/modules/members/moremember.tt | 1 + koha-tmpl/intranet-tmpl/prog/js/holds.js | 5 +++++ svc/holds | 7 ++++++- 4 files changed, 13 insertions(+), 1 deletion(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -839,6 +839,7 @@ Hold date Title + Item type Call number Barcode Pickup at --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt @@ -775,6 +775,7 @@ Hold date Title + Item type Call number Barcode Pickup at --- a/koha-tmpl/intranet-tmpl/prog/js/holds.js +++ a/koha-tmpl/intranet-tmpl/prog/js/holds.js @@ -168,6 +168,11 @@ $(document).ready(function() { return title; } }, + { + "mDataProp": function( oObj ) { + return oObj.itemtype_descr && oObj.itemtype_descr.escapeHtml() || ""; + } + }, { "mDataProp": function( oObj ) { return oObj.itemcallnumber && oObj.itemcallnumber.escapeHtml() || ""; --- a/svc/holds +++ a/svc/holds @@ -132,9 +132,14 @@ while ( my $h = $holds_rs->next() ) { $hold->{not_transfered} = 0; if ($item) { + + my $effective_itemtype = $item->effective_itemtype(); + my $itemtype_obj = Koha::ItemTypes->find( $effective_itemtype ); + $hold->{itemnumber} = $item->itemnumber(); $hold->{barcode} = $item->barcode(); - $hold->{itemtype} = $item->effective_itemtype(); + $hold->{itemtype} = $effective_itemtype; + $hold->{itemtype_descr} = $itemtype_obj->translated_description; $hold->{enumchron} = $item->enumchron(); $hold->{itemcallnumber} = $item->itemcallnumber() || q{}; --