Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check category translation on csv import #1345

Conversation

rjmackay
Copy link
Contributor

@rjmackay rjmackay commented Apr 7, 2014

Currently we only check categories against the entries in the category table when importing a CSV.
This changes that to check against translations too.

This stops us creating dupe categories when a translated title is used
in the CSV we're importing
@kamaulynder
Copy link
Contributor

Reviewed this, using a dataset from the afghan elections, solves the duplicating of categories when an import is done.

kamaulynder added a commit that referenced this pull request Apr 8, 2014
…csv-import

Check category translation on csv import
@kamaulynder kamaulynder merged commit 5f5bcb4 into ushahidi:develop Apr 8, 2014
@srutto srutto added this to the v2.7.3 milestone Apr 23, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants