--- 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 = []