fnp
/
edumed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sortowanie wyników uczniów w mailu dla nauczyciela
[edumed.git]
/
catalogue
/
templatetags
/
catalogue_tags.py
diff --git
a/catalogue/templatetags/catalogue_tags.py
b/catalogue/templatetags/catalogue_tags.py
index
5166298
..
698b51b
100755
(executable)
--- a/
catalogue/templatetags/catalogue_tags.py
+++ b/
catalogue/templatetags/catalogue_tags.py
@@
-34,7
+34,7
@@
def level_box(level):
by_course = defaultdict(lambda: defaultdict(list))
lesson_lists = [alist for alist in [
by_course = defaultdict(lambda: defaultdict(list))
lesson_lists = [alist for alist in [
- list(level.lesson_set.exclude(type='appendix').order_by('section__order')),
+ list(level.lesson_set.exclude(type='appendix').order_by('section__order'
, 'order'
)),
list(level.lessonstub_set.all())
] if alist]
list(level.lessonstub_set.all())
] if alist]