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> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> (cherry picked from commit67f18ea834) Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> (cherry picked from commit24f3583d04) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
8e6dada3aa
commit
f343c5c8a8
|
|
@ -563,7 +563,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 },
|
||||
|
|
|
|||
Loading…
Reference in New Issue