Bugzilla – Attachment 81909 Details for
Bug 20996
Fix API response time on ILL request endpoint
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20966: (follow-up) Add template variable filter; Fix table export
Bug-20966-follow-up-Add-template-variable-filter-F.patch (text/plain), 2.40 KB, created by
Martin Renvoize (ashimema)
on 2018-11-02 15:21:48 UTC
(
hide
)
Description:
Bug 20966: (follow-up) Add template variable filter; Fix table export
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2018-11-02 15:21:48 UTC
Size:
2.40 KB
patch
obsolete
>From 32ed7e6e0a8014186da644b19b9120ebe407cff4 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 29 Oct 2018 13:40:20 +0000 >Subject: [PATCH] Bug 20966: (follow-up) Add template variable filter; Fix > table export > >This patch makes to corrections: > >1. The "$raw" filter has been added to the column configuration >2. The columns configuration now specifies which columns are exported in > Copy, Excel, etc. operations. > >To test, apply the patch and test the various table export buttons on a >both a closed and open basket. Confirm that the 'Modify' and 'Cancel' >columns are not exported. > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> > >https://bugs.koha-community.org/show_bug.cgi?id=20996 >--- > admin/columns_settings.yml | 2 ++ > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt | 5 +++-- > 2 files changed, 5 insertions(+), 2 deletions(-) > >diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml >index a372fc172c..299fe97539 100644 >--- a/admin/columns_settings.yml >+++ b/admin/columns_settings.yml >@@ -75,6 +75,8 @@ modules: > - > columnname: ecost_tax_included > is_hidden: 1 >+ - >+ columnname: replacement_price > - > columnname: quantity > - >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt >index a88225900d..1d3c881448 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt >@@ -805,7 +805,7 @@ > [% END %] > [% END %] > <script> >- var columns_settings = [% ColumnsSettings.GetColumns( 'acqui', 'basket', 'orders', 'json' ) %]; >+ var columns_settings = [% ColumnsSettings.GetColumns( 'acqui', 'basket', 'orders', 'json' ) | $raw %]; > $(document).ready(function() { > KohaTable("orders", { > [% IF ( active ) %] >@@ -815,7 +815,8 @@ > ], > [% END %] > "sPaginationType": "four_button", >- "autoWidth": false >+ "autoWidth": false, >+ "exportColumns": [0,1,2,3,4,5,6,7,8,9,10,11,12,13] > }, columns_settings); > > var cancelledorderst = $("#cancelledorderst").dataTable($.extend(true, {}, dataTablesDefaults, { >-- >2.19.1
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 20996
:
76687
|
76688
|
76705
|
77100
|
79379
|
79576
|
79583
|
79584
|
79585
|
79586
|
79587
|
79588
|
79589
|
79590
|
79591
|
79592
|
81715
|
81716
|
81717
|
81718
|
81719
|
81720
|
81747
|
81748
|
81749
|
81750
|
81751
|
81752
|
81753
|
81755
|
81756
|
81757
|
81758
|
81759
|
81760
|
81761
|
81908
|
81909
|
81928
|
81967
|
81994
|
81996
|
81997
|
81998