app/soc/views/models/organization.py
changeset 2332 2a6071255146
parent 2331 91379f6b8fcb
child 2334 6f5f6a9965c6
--- a/app/soc/views/models/organization.py	Thu May 21 14:44:41 2009 +0200
+++ b/app/soc/views/models/organization.py	Fri May 22 09:40:53 2009 +0200
@@ -554,6 +554,9 @@
       ap_list = lists.getListContent(request, ap_params, filter, idx=0,
                                      need_content=True)
 
+      # This is a temporary fix for sorting Student Projects 
+      # by Student name until we have a view that default 
+      # sorts it self by name (right now we can't do such query)
       ap_list['data'].sort(key=lambda sp: sp.student.name().lower())
       
       contents = []