Bugzilla – Attachment 126685 Details for
Bug 28327
System preference CSVdelimiter special case for tabulation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28327: (QA follow-up) Add POD
Bug-28327-QA-follow-up-Add-POD.patch (text/plain), 1.06 KB, created by
Fridolin Somers
on 2021-10-21 22:10:05 UTC
(
hide
)
Description:
Bug 28327: (QA follow-up) Add POD
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2021-10-21 22:10:05 UTC
Size:
1.06 KB
patch
obsolete
>From 26ef9406bb5515052897ffb7addd603d51efc234 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Wed, 12 May 2021 13:16:00 +0000 >Subject: [PATCH] Bug 28327: (QA follow-up) Add POD > >--- > Koha/Template/Plugin/Koha.pm | 11 +++++++++++ > 1 file changed, 11 insertions(+) > >diff --git a/Koha/Template/Plugin/Koha.pm b/Koha/Template/Plugin/Koha.pm >index 2d34af0cc2..caa47d33bb 100644 >--- a/Koha/Template/Plugin/Koha.pm >+++ b/Koha/Template/Plugin/Koha.pm >@@ -55,6 +55,17 @@ sub Preference { > return C4::Context->preference( $pref ); > } > >+=head3 CSVDelimiter >+ >+The delimiter option 'tabs' is stored in the DB as 'tabulation' to avoid issues >+storing special characters in the DB. This helper function translates the value >+to the correct character when used in templates. >+ >+You can, optionally, pass a value parameter to this routine in the case of delimiter >+being fetched in the scripts and still needing to be translated >+ >+=cut >+ > sub CSVDelimiter { > my ( $self, $val ) = @_; > my $sep = $val || C4::Context->preference('CSVDelimiter') || ','; >-- >2.32.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 28327
:
120859
|
120861
|
120867
|
120868
|
120869
|
120870
|
120871
|
120872
|
120873
|
120874
|
120876
|
120877
|
120878
|
120879
|
120880
|
120881
|
126682
|
126683
|
126684
|
126685
|
126964
|
126965
|
126966
|
126967
|
131995
|
131996
|
131997
|
136378
|
136379
|
136380
|
136381
|
136473
|
136474
|
136475
|
136535
|
136536
|
136537
|
139479
|
139513
|
139514
|
139515
|
139516