Bug 35055: Exclude actions column from patron search results DataTables export

This patch updates the markup of the patron search results table so that
the "actions" column (Edit, Check out) are excluded when using the
DataTables "Export" button. The configuration was already in place but
the column header lacked the required class.

To test, apply the patch and perform a patron search which will return
multiple results.

Click the "Export" control at the top of the patron search results
table and choose "Print." In the print preview there should be no final
column containing "Edit" and "Check out."

Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Owen Leonard 2023-10-16 12:50:06 +00:00 committed by Tomas Cohen Arazi
parent 375578014a
commit 5bad6a6d49
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -161,7 +161,7 @@
[% CASE 'phone' %]<th>Phone</th>
[% CASE 'checkouts' %]<th>Checkouts</th>
[% CASE 'account_balance' %]<th>Fines</th>
[% CASE 'action' %]<th>&nbsp;</th>
[% CASE 'action' %]<th class="noExport">&nbsp;</th>
[% END %]
[% END %]
</tr>