DiscipleTools / DiscipleTools/disciple-tools-theme

csv import: strip commas from number fields on importing

Open
#2,797 3 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
PHP
Stars
48
Forks
66
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
When importing a formatted number such as 1,200 into a number field, an error is thrown

Image

**Describe the solution you'd like**
If the commas were stripped before the import this could alleviate this issue occurring.

**Alternative solution**
Is to strip the commas manually before upload, but this can be tricky, as google sheets displays commas when they don't exist, and libreoffice doesn't display commas in numbers when they do exist (by default)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.