]> git.koha-community.org Git - koha.git/commit
Bug 28861: Item type column always hidden in OPAC holds history
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 13 Aug 2021 20:00:38 +0000 (17:00 -0300)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 20 Aug 2021 17:58:57 +0000 (13:58 -0400)
commite43bf2d62c34e6310fa39f8bb10869f88f026ee6
tree59fc710421a721994d7e657d07636d9f9c897f1d
parent6ea41db079ae2b8362608eb35ec64cbc958c315c
Bug 28861: Item type column always hidden in OPAC holds history

This patch fixes the 'Requested item  type' column not showing for holds
history in OPAC.

It was due to a template variable not being set. When solved, it become
clear that an import was missing for a template plugin.

To test:
1. Enable AllowHoldItemTypeSelection
2. Add a couple item-type constrained holds
3. See them in the holds history page
=> SUCCESS: Item type column shows
4. Enable OPACHoldsHistory
5. Look for them in the OPAC
=> FAIL: The item type column doesn't show
6. Apply this patch
7. Repeat 5
=> SUCCESS: The column shows! The item type is described!
8. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-holdshistory.tt