Bugzilla – Attachment 130952 Details for
Bug 16258
Add a preference to turn EDIFACT off
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16258: (QA follow-up) Fix columns_settings
Bug-16258-QA-follow-up-Fix-columnssettings.patch (text/plain), 1.14 KB, created by
Martin Renvoize (ashimema)
on 2022-02-21 11:50:12 UTC
(
hide
)
Description:
Bug 16258: (QA follow-up) Fix columns_settings
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2022-02-21 11:50:12 UTC
Size:
1.14 KB
patch
obsolete
>From b9b2ce2ec3cf79611ea47e6261d224db4a40d504 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Mon, 21 Feb 2022 11:49:11 +0000 >Subject: [PATCH] Bug 16258: (QA follow-up) Fix columns_settings > >Splice out the relevant field from the columns_settings when EDIFACT is >disabled >--- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt | 3 +++ > 1 file changed, 3 insertions(+) > >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 6535cf00c3..eefea84a31 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt >@@ -983,6 +983,9 @@ > [% END %] > <script> > var columns_settings = [% TablesSettings.GetColumns( 'acqui', 'basket', 'orders', 'json' ) | $raw %]; >+ [% IF !(Koha.Preference('EDIFACT') && ediaccount) %] >+ columns_settings.splice(13,1); >+ [% END %] > [% SET table_settings = TablesSettings.GetTableSettings( 'acqui', 'basket', 'orders' ) %]; > $(document).ready(function() { > KohaTable("orders", { >-- >2.20.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 16258
:
51185
|
51228
|
54539
|
54567
|
130451
|
130453
|
130454
|
130455
|
130470
|
130471
|
130472
|
130473
|
130474
|
130475
|
130833
|
130834
|
130835
|
130836
|
130837
|
130838
|
130839
|
130840
|
130841
|
130842
|
130952
|
130980
|
130981
|
130982
|
130983
|
130984
|
130985
|
130986
|
130987
|
130988
|
130989
|
130990
|
132391
|
132392
|
132393
|
132394
|
132395
|
132396
|
132397
|
132398
|
132399
|
132400
|
132401
|
132402