Merge pull request #28 from bugman80/master

fixes bug in questions ordering
EmailTemplateFixes
Denis Krienbühl 2014-10-08 13:01:56 +02:00
commit ad19e90d43
1 changed files with 0 additions and 1 deletions

View File

@ -103,7 +103,6 @@ class QuestionSet(models.Model):
def questions(self): def questions(self):
if not hasattr(self, "__qcache"): if not hasattr(self, "__qcache"):
self.__qcache = list(Question.objects.filter(questionset=self.id).order_by('number')) self.__qcache = list(Question.objects.filter(questionset=self.id).order_by('number'))
self.__qcache.sort()
return self.__qcache return self.__qcache
def next(self): def next(self):