Skip to main content

get_student_facing_by_user_id

Function get_student_facing_by_user_id 

Source
pub async fn get_student_facing_by_user_id(
    conn: &mut PgConnection,
    user_id: Uuid,
    filter: StudentRegistrationFilter,
) -> ModelResult<Vec<StudentCreditRegistration>>
Expand description

The user’s registrations as the student surfaces show them, newest completion first. Superseded attempts are included: the student is entitled to see an earlier attempt Sisu may still hold.