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>
This commit is contained in:
parent
6ea41db079
commit
e43bf2d62c
1 changed files with 2 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
[% USE Branches %]
|
||||
[% USE KohaDates %]
|
||||
[% USE TablesSettings %]
|
||||
[% USE ItemTypes %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Your holds history › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
|
@ -66,6 +67,7 @@
|
|||
[% IF !holds %]
|
||||
You have never placed a hold from this library.
|
||||
[% ELSE %]
|
||||
[% SET show_itemtype_column = Koha.Preference('AllowHoldItemTypeSelection') %]
|
||||
<div id="opac-user-holdsrec">
|
||||
<div id="tabs-container">
|
||||
<div class="controls">
|
||||
|
|
Loading…
Reference in a new issue