Applied fix from adam@nostrum.com: Display meeting materials with correct ordering.

- Legacy-Id: 4754
This commit is contained in:
Henrik Levkowetz 2012-08-10 11:58:55 +00:00
parent eb28ac8177
commit 25f3f94c21

View file

@ -177,7 +177,7 @@ class Session(models.Model):
def slides(self):
try:
return self.materials.filter(type="slides",states__type="slides",states__slug="active")
return self.materials.filter(type="slides",states__type="slides",states__slug="active").order_by("order")
except Exception:
return []