[Koha-bugs] [Bug 28327] System preference CSVdelimiter special case for tabulation
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Dec 1 15:55:20 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28327
Jonathan Druart <jonathan.druart+koha at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jonathan.druart+koha at gmail.
| |com
--- Comment #33 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
It would have been better to have a new method in Koha.Config that could be
called from all the other places as well:
admin/aqplan.pl:$del = "\t" if $del eq 'tabulation';
misc/cronjobs/overdue_notices.pl: $sep_char = "\t" if ($sep_char eq
'tabulation');
misc/cronjobs/overdue_notices.pl: $delimiter = "\t" if $delimiter eq
'tabulation';
misc/export_borrowers.pl: $separator = "\t" if ($separator eq 'tabulation');
reports/acquisitions_stats.pl:$sep = "\t" if ($sep eq 'tabulation');
reports/bor_issues_top.pl:$sep = "\t" if ($sep eq 'tabulation');
reports/borrowers_out.pl:$sep = "\t" if ($sep eq 'tabulation');
reports/borrowers_stats.pl:$sep = "\t" if ($sep and $sep eq 'tabulation');
reports/cash_register_stats.pl: $delimiter = "\t" if $delimiter eq
'tabulation';
reports/cat_issues_top.pl:$sep = "\t" if ($sep eq 'tabulation');
reports/catalogue_stats.pl:$sep = "\t" if ($sep eq 'tabulation');
reports/guided_reports.pl: $delimiter = "\t" if $delimiter eq
'tabulation';
reports/issues_avg_stats.pl:$sep = "\t" if ($sep eq 'tabulation');
reports/issues_stats.pl:$sep = "\t" if ($sep eq 'tabulation');
reports/orders_by_fund.pl: $sep = "\t" if ($sep eq 'tabulation');
reports/reserves_stats.pl:$sep = "\t" if ($sep eq 'tabulation');
reports/serials_stats.pl:$sep = "\t" if ($sep eq 'tabulation');
t/Koha_Template_Plugin_Koha.t: is($plugin->CSVDelimiter(), "\t",
"CSVDelimiter() returns \\t when preference is tabulation");
t/Koha_Template_Plugin_Koha.t: is($plugin->CSVDelimiter('tabulation'), "\t",
"CSVDelimiter(arg) returns \\t value when arg is tabulation");
tools/viewlog.pl: $delimiter = "\t" if $delimiter eq 'tabulation';
With this patch we are adding yet one more occurrences...
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list