Bugzilla – Attachment 157182 Details for
Bug 35055
Don't export actions column from patron search results
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35055: Exclude actions column from patron search results DataTables export
Bug-35055-Exclude-actions-column-from-patron-searc.patch (text/plain), 1.62 KB, created by
Owen Leonard
on 2023-10-16 12:57:17 UTC
(
hide
)
Description:
Bug 35055: Exclude actions column from patron search results DataTables export
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2023-10-16 12:57:17 UTC
Size:
1.62 KB
patch
obsolete
>From 5b5e9faf5682630ff1e3e57579982fab14c00134 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 16 Oct 2023 12:50:06 +0000 >Subject: [PATCH] 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." >--- > koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >index 90a7aa1a79..18fbf42931 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >@@ -161,7 +161,7 @@ > [% CASE 'phone' %]<th>Phone</th> > [% CASE 'checkouts' %]<th>Checkouts</th> > [% CASE 'account_balance' %]<th>Fines</th> >- [% CASE 'action' %]<th> </th> >+ [% CASE 'action' %]<th class="noExport"> </th> > [% END %] > [% END %] > </tr> >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 35055
:
157182
|
157196
|
157210