https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27045

--- Comment #7 from Fridolin Somers <[email protected]> ---
  my $delimiter = $csv_profile->csv_separator;
  $delimiter = "\t" if $delimiter eq "\\t";

Ah strange :

In system preference stored value is string "tabulation" :
https://git.koha-community.org/Koha-community/Koha/src/commit/99c10bf4484635e9befdc9c09a56c0f7278c7976/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref#L50

We see in other places :
  $delimiter = "\t" if $delimiter eq 'tabulation';
https://git.koha-community.org/Koha-community/Koha/src/commit/65542edbe021d58ca6ef1332a8e3ca760b198391/reports/guided_reports.pl#L903

Looks like use of CSVdelimiter is wrong in many places where preference is
fetched in TT.
I create a  new bug report for that.

Maybe we shoud add a method C4::Context->csv_delimiter() ?
And add a method to TT plugin.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to