summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpytask/taskapp/views/textbook.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pytask/taskapp/views/textbook.py b/pytask/taskapp/views/textbook.py
index 4e93a9a..416856c 100755
--- a/pytask/taskapp/views/textbook.py
+++ b/pytask/taskapp/views/textbook.py
@@ -104,7 +104,7 @@ def view_textbook(request, task_id, template='task/view_textbook.html'):
else:
raise http.Http404
- chapters = textbook.children_tasks.all()
+ chapters = textbook.children_tasks.all().order_by('creation_datetime')
user = request.user