Bug 41953: Add hold group column to OPAC holds table

Only displayed if DisplayAddHoldGroups is enabled

Signed-off-by: Bob Bennhoff <bbennhoff@clicweb.org>
Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 6f410c3797)
Signed-off-by: Jacob O'Mara <Jacob.omara@openfifth.co.uk>
This commit is contained in:
Pedro Amorim 2026-04-02 10:52:35 +00:00 committed by Jacob O'Mara
parent d0c8035c6c
commit e89e41dd68
No known key found for this signature in database
1 changed files with 6 additions and 0 deletions

View File

@ -10,6 +10,9 @@
<thead>
<tr>
<th class="all anti-the">Title</th>
[% IF Koha.Preference('DisplayAddHoldGroups') %]
<th class="nosort">Hold group</th>
[% END %]
[% IF ( showpriority ) %]
<th>Placed on</th>
[% ELSE %]
@ -82,6 +85,9 @@
</div>
[% END %]
</td>
[% IF Koha.Preference('DisplayAddHoldGroups') && HOLD.hold_group %]
<td class="visual_hold_group_id"> [% HOLD.hold_group.visual_hold_group_id %] </td>
[% END %]
<td class="reservedate" data-order="[% HOLD.reservedate | html %]"> [% HOLD.reservedate | $KohaDates %] </td>
<td class="expirationdate" data-order="[% !HOLD.found ? HOLD.expirationdate : '0000-00-00' | html %]">
[% IF ! HOLD.found %]