Bug 43237: Add 'Expand' column header to all OPAC responsive DataTables

This patch updates several templates in the OPAC so that when a
responsive DataTable is partially collapsed, the column with the "+"
buttons has "Expand" in the column header.

To test, apply the patch and test tables on the affected pages,
narrowing the page enough to confirm that when the table collapses, the
last column has "Expand" in the header.:

- Authorities search results
- The details of a course reserve (with titles on reserve)
- The holdings table on the bibliographic detail page
- Search history
- Most popular

As a logged-in user:
- User summary page (all tabs)
- Curbside pickups (with at least one curbside pickup scheduled)
- Checkout history
- Suggestions
- Tags

In self-checkout:
- The checkouts, holds, and charges tabs.

Sponsored-by: Athens County Public Libraries
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
This commit is contained in:
Owen Leonard 2026-08-14 14:03:44 -04:00 committed by Pedro Amorim
parent d486b1c68b
commit 3d0b88df00
No known key found for this signature in database
GPG Key ID: 06B75BA7F3894D55
15 changed files with 25 additions and 25 deletions

View File

@ -14,7 +14,7 @@
<th>Description</th>
<th>Amount</th>
<th>Amount outstanding</th>
<th></th>
<th class="dtr-control-col">[% t('Expand') | html %]</th>
</tr>
</thead>
@ -113,7 +113,7 @@
<th>Description</th>
<th>Fine amount</th>
<th>Amount outstanding</th>
<th></th>
<th class="dtr-control-col">[% t('Expand') | html %]</th>
</tr>
</thead>

View File

@ -35,7 +35,7 @@
[% IF ! onlyinfo %]
<th class="nosort">Modify</th>
[% END %]
<th></th>
<th class="dtr-control-col">[% t('Expand') | html %]</th>
</tr>
</thead>
<tbody>

View File

@ -13,7 +13,7 @@
<th>Description</th>
<th>Date enrolled</th>
<th class="no-sort all">&nbsp;</th>
<th class="dtr-control-col"></th>
<th class="dtr-control-col">[% t('Expand') | html %]</th>
</tr>
</thead>
@ -46,7 +46,7 @@
<th class="all">Name</th>
<th>Description</th>
<th class="no-sort all">&nbsp;</th>
<th class="dtr-control-col"></th>
<th class="dtr-control-col">[% t('Expand') | html %]</th>
</tr>
</thead>

View File

@ -72,7 +72,7 @@
[% UNLESS ( isEDITORS ) %]
<th>Records</th>
[% END %]
<th class="dtr-control-col"></th>
<th class="dtr-control-col">[% t('Expand') | html %]</th>
</tr>
</thead>
<tbody>

View File

@ -90,7 +90,7 @@
<th>Date due</th>
<th>Notes</th>
<th>Link</th>
<th class="dtr-control-col"></th>
<th class="dtr-control-col">[% t('Expand') | html %]</th>
</tr>
</thead>

View File

@ -177,7 +177,7 @@
<th>Schedule</th>
<th>Notes</th>
<th>Actions</th>
<th class="dtr-control-col"></th>
<th class="dtr-control-col">[% t('Expand') | html %]</th>
</tr>
</thead>
<tbody>

View File

@ -804,7 +804,7 @@
<th id="serial_planneddate" data-colname="serial_planneddate">Received date</th>
<th id="serial_status" data-colname="serial_status">Status</th>
<th id="serial_notes" data-colname="serial_notes">Note</th>
<th class="dtr-control-col"></th>
<th class="dtr-control-col">[% t('Expand') | html %]</th>
</tr>
</thead>
<tbody>
@ -1293,7 +1293,7 @@
<th id="item_holds" data-colname="item_holds">Item holds</th>
<th id="item_priority" data-colname="item_priority">Item hold queue priority</th>
<th id="item_coursereserves" data-colname="item_coursereserves">Course reserves</th>
<th class="dtr-control-col"></th>
<th class="dtr-control-col">[% t('Expand') | html %]</th>
</tr>
</thead>
<tbody>

View File

@ -128,7 +128,7 @@
[% IF Koha.Preference('OPACMySummaryHTML') %]
<th class="no-sort no-export">Links</th>
[% END %]
<th class="dtr-control-col"></th>
<th class="dtr-control-col">[% t('Expand') | html %]</th>
</tr>
</thead>
<tbody>

View File

@ -47,7 +47,7 @@
<th>Status</th>
<th>Due date</th>
<th class="no-sort">Modify</th>
<th class="dtr-control-col"></th>
<th class="dtr-control-col">[% t('Expand') | html %]</th>
</tr>
</thead>
<tbody>

View File

@ -104,7 +104,7 @@
<th>Date</th>
<th>Search</th>
<th>Results</th>
<th class="dtr-control-col"></th>
<th class="dtr-control-col">[% t('Expand') | html %]</th>
</tr>
</thead>
<tbody>
@ -157,7 +157,7 @@
<th>Date</th>
<th>Search</th>
<th>Results</th>
<th class="dtr-control-col"></th>
<th class="dtr-control-col">[% t('Expand') | html %]</th>
</tr>
</thead>
<tbody>
@ -215,7 +215,7 @@
<th>Date</th>
<th>Search</th>
<th>Results</th>
<th class="dtr-control-col"></th>
<th class="dtr-control-col">[% t('Expand') | html %]</th>
</tr>
</thead>
<tbody>
@ -258,7 +258,7 @@
<th>Date</th>
<th>Search</th>
<th>Results</th>
<th class="dtr-control-col"></th>
<th class="dtr-control-col">[% t('Expand') | html %]</th>
</tr>
</thead>
<tbody>

View File

@ -434,7 +434,7 @@
[% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %]<th>Suggested for</th>[% END %]
[% IF Koha.Preference( 'OpacSuggestionManagedBy' ) %]<th>Managed by</th>[% END %]
<th>Status</th>
<th></th>
<th class="dtr-control-col">[% t('Expand') | html %]</th>
</tr>
</thead>
<tbody>

View File

@ -176,7 +176,7 @@
<th class="all anti-the">Title</th>
<th>Date added</th>
<th class="no-sort"></th>
<th class="dtr-control-col"></th>
<th class="dtr-control-col">[% t('Expand') | html %]</th>
</tr>
</thead>
<tbody>

View File

@ -95,7 +95,7 @@
[% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
<th class="no-sort">&nbsp;</th>
[% END %]
<th class="dtr-control-col"></th>
<th class="dtr-control-col">[% t('Expand') | html %]</th>
</tr>
</thead>
<tbody>

View File

@ -363,7 +363,7 @@
<th class="hidden">Checkout note</th>
<th id="checkout-notes" class="no-sort no-export" title="Use this to report any problems with your currently checked out items">Report a problem</th>
[% END %]
<th class="dtr-control-col"></th>
<th class="dtr-control-col">[% t('Expand') | html %]</th>
</tr>
</thead>
<tbody>
@ -679,7 +679,7 @@
<th>Barcode</th>
<th>Call number</th>
<th class="psort">Relative</th>
<th class="dtr-control-col"></th>
<th class="dtr-control-col">[% t('Expand') | html %]</th>
</tr>
</thead>
@ -728,7 +728,7 @@
[% IF ( OPACFinesTab ) %]
<th>Fines</th>
[% END %]
<th class="dtr-control-col"></th>
<th class="dtr-control-col">[% t('Expand') | html %]</th>
</tr>
</thead>
<tbody>
@ -852,7 +852,7 @@
<th>Pickup location</th>
<th>Status</th>
<th class="no-sort">&nbsp;</th>
<th class="dtr-control-col"></th>
<th class="dtr-control-col">[% t('Expand') | html %]</th>
</tr>
</thead>
<tbody>
@ -925,7 +925,7 @@
<th class="article-request-status">Status</th>
<th class="article-request-branchcode">Pickup library</th>
<th class="article-request-cancel">Actions</th>
<th class="dtr-control-col"></th>
<th class="dtr-control-col">[% t('Expand') | html %]</th>
</tr>
</thead>

View File

@ -193,7 +193,7 @@
[% UNLESS ( nofines ) %]
<th>Fines</th>
[% END %]
<th class="dtr-control-col"></th>
<th class="dtr-control-col">[% t('Expand') | html %]</th>
</tr>
</thead>
<tbody>