equal
deleted
inserted
replaced
552 'status': ['accepted', 'mid_term_passed', 'passed']} |
552 'status': ['accepted', 'mid_term_passed', 'passed']} |
553 |
553 |
554 ap_list = lists.getListContent(request, ap_params, filter, idx=0, |
554 ap_list = lists.getListContent(request, ap_params, filter, idx=0, |
555 need_content=True) |
555 need_content=True) |
556 |
556 |
|
557 # This is a temporary fix for sorting Student Projects |
|
558 # by Student name until we have a view that default |
|
559 # sorts it self by name (right now we can't do such query) |
557 ap_list['data'].sort(key=lambda sp: sp.student.name().lower()) |
560 ap_list['data'].sort(key=lambda sp: sp.student.name().lower()) |
558 |
561 |
559 contents = [] |
562 contents = [] |
560 |
563 |
561 if ap_list: |
564 if ap_list: |