Skip to main content

open_chapters

Function open_chapters 

Source
async fn open_chapters(
    conn: &mut PgConnection,
    course_id: Uuid,
) -> ModelResult<HashMap<Uuid, DatabaseChapter>>
Expand description

The course’s currently open chapters by id. Shared by the exercise list and progress views so their visibility rules cannot drift apart.