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. Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
6c48a1e2c2
commit
967a33d9a1
|
|
@ -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'
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue