Bugzilla – Attachment 116530 Details for
Bug 27653
Do not include 'caption' row in print/copy export of datatables
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27653: Set messageTop to null for KohaTables
Bug-27653-Set-messageTop-to-null-for-KohaTables.patch (text/plain), 1.67 KB, created by
Katrin Fischer
on 2021-02-08 22:05:55 UTC
(
hide
)
Description:
Bug 27653: Set messageTop to null for KohaTables
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2021-02-08 22:05:55 UTC
Size:
1.67 KB
patch
obsolete
>From f080202c3635ce1ebb4c7efd79bafa4f9ab59f7b Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Mon, 8 Feb 2021 12:48:53 +0000 >Subject: [PATCH] Bug 27653: Set messageTop to null for KohaTables > >This patch sets messageTop to null for KohaTables. This prevents >the filter row from being included in an export. > >To test: >1 - Browse to acquisitions home >2 - Click Export->Copy >3 - Paste the data to a text editor >4 - Click Export->Print >5 - Note the 'Expand all...' row is included in both of the above >6 - Apply patch >7 - Repeat >8 - The row is gone from both copy and print > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc | 2 ++ > 1 file changed, 2 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 9a5eb315f5..98e7fd072e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc >@@ -61,6 +61,7 @@ function KohaTable(id_selector, dt_parameters, columns_settings, add_filters) { > { > extend: 'copyHtml5', > text: _("Copy"), >+ messageTop: null, > exportOptions: { > columns: exportColumns, > format: export_format >@@ -69,6 +70,7 @@ function KohaTable(id_selector, dt_parameters, columns_settings, add_filters) { > { > extend: 'print', > text: _("Print"), >+ messageTop: null, > exportOptions: { > columns: exportColumns, > format: export_format >-- >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 27653
:
116495
|
116530
|
116531
|
116576
|
116611
|
116614
|
116615
|
116690
|
116841
|
116864