From b7057b299a2ad1811448df311801d699423eb470 Mon Sep 17 00:00:00 2001 From: "matteo.cafarotti" Date: Wed, 8 Oct 2014 12:28:08 +0200 Subject: [PATCH] fixes bug in questions ordering --- questionnaire/models.py | 1 - 1 file changed, 1 deletion(-) diff --git a/questionnaire/models.py b/questionnaire/models.py index 56822ab..e05c678 100644 --- a/questionnaire/models.py +++ b/questionnaire/models.py @@ -103,7 +103,6 @@ class QuestionSet(models.Model): def questions(self): if not hasattr(self, "__qcache"): self.__qcache = list(Question.objects.filter(questionset=self.id).order_by('number')) - self.__qcache.sort() return self.__qcache def next(self):