Koha/misc/cronjobs
Fridolin Somers 381b79593e
Bug 28327: Unify CSV delimiter special behavior for tabulation
System preference 'CSVdelimiter' has a special case for tabulation.
Preference value contains string 'tabulation' but string '\t' must be used in CSV file.

This is OK in many places, for exemple Bug 17590.

This patch adds C4::Context->csv_delimiter to add a uniq metod dealing
with this behavior.
Also create Koha::Template::Plugin::Koha->CSVDelimiter for calls from
Toolkit Templates.

Test plan :
1) Set system preference 'CSVdelimiter' = 'tabs'.
2) Create CSV export in impacted pages
3) Check columns are separated by tabulation character and not string 'tabulation'
4) Check with another delimiter

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-08-19 15:53:12 -03:00
..
holds Bug 31122: Terminology - Replace occurences of 'Notices & slips' with 'Notices and slips' 2022-07-08 15:08:23 -03:00
recalls Bug 30291: Changes to staff client files 2022-05-05 11:17:36 -10:00
rss Bug 17600: Fix POSIX imports 2021-07-29 14:37:26 +02:00
social_data
thirdparty Bug 31122: Terminology - Replace occurences of 'Notices & slips' with 'Notices and slips' 2022-07-08 15:08:23 -03:00
advance_notices.pl Bug 29698: Make items available for PREDUEDGST 2022-05-04 14:29:24 -10:00
archive_purchase_suggestions.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
automatic_checkin.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
automatic_item_modification_by_age.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
automatic_renewals.pl Bug 30354: Don't assign warn as letter 2022-05-05 11:17:37 -10:00
backup.sh
batch_anonymise.pl Bug 29843: Use in batch_anonymise.pl 2022-02-10 14:44:23 -10:00
build_browser_and_cloud.pl Bug 29697: Use flag embed_items 2022-07-22 15:24:11 -03:00
cart_to_shelf.pl Bug 28617: Remove kohalib.pl and rely on PERL5LIB 2021-12-07 12:16:28 -10:00
check-url-quick.pl Bug 29697: Replace GetMarcBiblio occurrences with $biblio->metadata->record 2022-07-22 15:24:11 -03:00
cleanup_database.pl Bug 30914: (24153 follow-up) Fix cleanup_database.pl --transfers --old-reserves 2022-06-13 10:32:10 -03:00
cloud-kw.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
cloud-sample.conf
CONFIGURE.gmail Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
create_koc_db.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
crontab.example Bug 19532: (QA follow-up) Add the cron jobs to the cron files 2022-03-14 22:45:52 -10:00
delete_items.pl Bug 29788: Make Koha::Item->safe_to_delete use Koha::Result::Boolean 2022-01-11 12:38:35 -10:00
delete_patrons.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
delete_records_via_leader.pl Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00
edi_cron.pl Bug 16258: (QA follow-up) Capitalise EDIFACT 2022-04-13 15:55:39 +02:00
fines.pl Bug 30718: Use flatpickr's altInput 2022-08-19 08:26:31 -03:00
gather_print_notices.pl Bug 29501: Use the default transport 2022-04-04 16:23:45 +02:00
import_webservice_batch.pl Bug 30776: import missing subroutine to fix import_webservice_batch.pl 2022-05-18 17:22:08 -10:00
longoverdue.pl Bug 28617: Remove kohalib.pl and rely on PERL5LIB 2021-12-07 12:16:28 -10:00
membership_expiry.pl Bug 28617: Remove kohalib.pl and rely on PERL5LIB 2021-12-07 12:16:28 -10:00
merge_authorities.pl Bug 17600: Fix missing C4::AuthoritiesMARC import 2021-07-29 15:34:25 +02:00
notice_unprocessed_suggestions.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
overdue_notices.pl Bug 28327: Unify CSV delimiter special behavior for tabulation 2022-08-19 15:53:12 -03:00
patron_emailer.pl Bug 31282: Fix broken characters in patron_emailer.pl verbose mode 2022-08-19 09:56:13 -03:00
plugins_nightly.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
printoverdues.sh
process_message_queue.pl Bug 28617: Remove kohalib.pl and rely on PERL5LIB 2021-12-07 12:16:28 -10:00
purge_suggestions.pl Bug 28617: Remove kohalib.pl and rely on PERL5LIB 2021-12-07 12:16:28 -10:00
reconcile_balances.pl Bug 29859: Use iterator instead of as_list 2022-02-09 15:36:23 -10:00
remove_temporary_edifiles.pl
runreport.pl Bug 26669: Last Run if report not always updated 2022-04-04 16:23:46 +02:00
serialsUpdate.pl Bug 30718: Use flatpickr's altInput 2022-08-19 08:26:31 -03:00
share_usage_with_koha_community.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
sitemap.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
staticfines.pl Bug 30718: Use flatpickr's altInput 2022-08-19 08:26:31 -03:00
stockrotation.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
update_patrons_category.pl Bug 31249: Use cronlogaction on update_patrons_category.pl 2022-08-05 11:53:15 -03:00
update_totalissues.pl Bug 28617: Remove kohalib.pl and rely on PERL5LIB 2021-12-07 12:16:28 -10:00
writeoff_debts.pl Bug 28994: Fix logical errors with amount vs amoutoutstanding 2021-11-15 12:38:39 +01:00