Bugzilla – Attachment 167405 Details for
Bug 37027
Some dataTable controls in SCO seem unnecessary
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37027: Remove unnecessary dataTable controls from SCO tables
Bug-37027-Remove-unnecessary-dataTable-controls-fr.patch (text/plain), 1.57 KB, created by
Sam Lau
on 2024-06-04 16:22:06 UTC
(
hide
)
Description:
Bug 37027: Remove unnecessary dataTable controls from SCO tables
Filename:
MIME Type:
Creator:
Sam Lau
Created:
2024-06-04 16:22:06 UTC
Size:
1.57 KB
patch
obsolete
>From ee74372b01f0aa602df1dcf16db175b443a08f1e Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Tue, 4 Jun 2024 14:35:17 +0000 >Subject: [PATCH] Bug 37027: Remove unnecessary dataTable controls from SCO > tables > >To test: >1. Have a patron with some checkouts, holds, and charges that can login into the SCO module. >2. Notice the dataTable controls for searching the table, copying the table, exporting as CSV, or printing. >3. APPLY PATCH >4. Try step 2 again, this time the only dataTable control should be the search filter. > >Signed-off-by: Sam Lau <samalau@gmail.com> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt >index 24c0e194ac..0b367e313d 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt >@@ -574,7 +574,7 @@ > var thIndex = $(this).find("th.psort").index(); > $(this).dataTable($.extend(true, {}, dataTablesDefaults, { > "sorting" : [[ thIndex, 'asc' ]], >- "dom": '<"top"<"table_entries"><"table_controls"fB>>t', >+ "dom": '<"top"<"table_entries"><"table_controls"f>>t<"clear">', > "columnDefs": [ > { "targets": [ "nosort" ],"sortable": false,"searchable": false }, > { "targets": [ "noshow" ], "visible": false, "searchable": false }, >-- >2.39.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 37027
:
167398
|
167405
|
168325