]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 27 Aug 2021 19:05:26 +0000 (09:05 -1000)
commit52e7b416ce011fb3df9b2433dccb70687b8f7063
tree062ad7ccf570d9b166c7d476cb00f405e7a458db
parentf87e8aeab99c4e0da86a2f5349abfe172144c2a5
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>
(cherry picked from commit e43bf2d62c34e6310fa39f8bb10869f88f026ee6)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-holdshistory.tt