# HG changeset patch # User Daniel Diniz # Date 1246714208 -7200 # Node ID 941732c52b67470db8febeaeccad794c5e2ad72e # Parent 0b4dbe4b3fb7a21744bd7f92b25bb4bd083fb7ed Fixed broken selection questions from refactoring SurveyForm. Reviewed by: Lennard de Rijk diff -r 0b4dbe4b3fb7 -r 941732c52b67 app/soc/views/helper/surveys.py --- a/app/soc/views/helper/surveys.py Sat Jul 04 15:16:54 2009 +0200 +++ b/app/soc/views/helper/surveys.py Sat Jul 04 15:30:08 2009 +0200 @@ -293,8 +293,7 @@ # add all properties, but select chosen one # TODO(ajaksu): this breaks ordering and blocks merging choice methods options = getattr(self.survey_content, field) - has_record = not self.editing and self.survey_record - if has_record and hasattr(self.survey_record, field): + if self.survey_record and hasattr(self.survey_record, field): these_choices.append((value, value)) if value in options: options.remove(value)