Skip to content

Commit

Permalink
Changes default survey name from 'unnamed' to 'Unnamed', re #4357
Browse files Browse the repository at this point in the history
  • Loading branch information
chiatt committed Dec 22, 2018
1 parent 587cf76 commit 896f383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arches/app/views/mobile_survey.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def get_last_login(date):
if models.MobileSurveyModel.objects.filter(pk=surveyid).exists():
mobile_survey = models.MobileSurveyModel.objects.get(pk=surveyid)
else:
mobile_survey = models.MobileSurveyModel(id=surveyid, name='unnamed')
mobile_survey = models.MobileSurveyModel(id=surveyid, name='Unnamed')
mobile_survey.datadownloadconfig = {"download":False, "count":1000, "resources":[], "custom": None}

mobile_surveys, resources = get_survey_resources([mobile_survey])
Expand Down

0 comments on commit 896f383

Please sign in to comment.