Subject Needs

We need a separate page for subject needs presenting on /admin/subject-needs/{semester}. If we access /admin/subject-needs we need to be redirected to the last active semester, or to the last semester if there is no active semester.

This page should display separate row for each SubjectAllocationStats with the following fields:

  • JoinedSubject
  • nG: number of groups
  • nPRG: number of professors that have the subject in their TeacherSubjectRequest and are assigned to the subject
  • nPR: number of all professors that have the subject in their TeacherSubjectRequest
  • nARG: number of assistants that have the subject in their TeacherSubjectRequest and are assigned to the subject
  • nAR: number of all assistants that have the subject in their TeacherSubjectRequest
  • nL: number of not consultative lab groups
  • nCL: number of covered lab groups by the assistants

We need filters for:

  • text contained in JoinedSubject.name or JoinedSubject.abreviation
  • nPRG < NG
  • nPR < NG
  • nARG < NG
  • nAR < NG
  • nCL < nL

Also, we need export in TSV according to the filters.

Edited by Ристе Стојанов