Bugzilla – Attachment 74174 Details for
Bug 18791
Add the ability for librarians to easily copy, download or print DataTables based tables in Koha
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18791: Export visible columns only
Bug-18791-Export-visible-columns-only.patch (text/plain), 1.78 KB, created by
Jonathan Druart
on 2018-04-13 16:54:45 UTC
(
hide
)
Description:
Bug 18791: Export visible columns only
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-04-13 16:54:45 UTC
Size:
1.78 KB
patch
obsolete
>From 8c23623304de4bd1ce59e70ae77499155e43fea1 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 13 Apr 2018 13:53:32 -0300 >Subject: [PATCH] Bug 18791: Export visible columns only > >We certainly will want to improve that and explicitely list the columns >to export. For instance the actions and checkboxes should not be >exported, even if visible. >--- > .../intranet-tmpl/prog/en/includes/columns_settings.inc | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc >index d2e86df60b..636cc5a562 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc >@@ -25,22 +25,37 @@ function KohaTable(id_selector, dt_parameters, columns_settings, add_filters) { > extend: 'colvis', > columns: included_ids, > text: _("Column visibility"), >+ exportOptions: { >+ columns: ':visible' >+ }, > }, > { > extend: 'excelHtml5', > text: _("Excel"), >+ exportOptions: { >+ columns: ':visible' >+ }, > }, > { > extend: 'csvHtml5', > text: _("CSV"), >+ exportOptions: { >+ columns: ':visible' >+ }, > }, > { > extend: 'copyHtml5', > text: _("Copy"), >+ exportOptions: { >+ columns: ':visible' >+ }, > }, > { > extend: 'print', > text: _("Print"), >+ exportOptions: { >+ columns: ':visible' >+ }, > }, > ]; > >-- >2.11.0
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 18791
:
64233
|
72615
|
72616
|
72618
|
73325
|
73995
|
73996
|
73997
|
74085
|
74086
|
74087
| 74174