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 |
557 # this is a temporary fix for sorting Student Projects |
558 # by Student name until we have a view that default |
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) |
559 # sorts it self by name (right now we can't do such query) |
560 ap_list['data'].sort(key=lambda sp: sp.student.name().lower()) |
560 ap_list['data'].sort(key=lambda sp: sp.student.name().lower()) |
561 |
561 |
562 contents = [] |
562 contents = [] |