Minor Refactor
This commit is contained in:
parent
0c9f9aa419
commit
a45e83fa68
@ -34,7 +34,7 @@ sheetOldUnassigned tid ssh csh = do
|
|||||||
E.&&. course E.^. CourseTerm E.==. E.val tid
|
E.&&. course E.^. CourseTerm E.==. E.val tid
|
||||||
E.&&. course E.^. CourseSchool E.==. E.val ssh
|
E.&&. course E.^. CourseSchool E.==. E.val ssh
|
||||||
E.&&. course E.^. CourseShorthand E.==. E.val csh
|
E.&&. course E.^. CourseShorthand E.==. E.val csh
|
||||||
E.where_ . E.exists . E.from $ \submission -> do
|
E.where_ . E.exists . E.from $ \submission ->
|
||||||
E.where_ $ submission E.^. SubmissionSheet E.==. sheet E.^. SheetId
|
E.where_ $ submission E.^. SubmissionSheet E.==. sheet E.^. SheetId
|
||||||
E.&&. E.isNothing (submission E.^. SubmissionRatingBy)
|
E.&&. E.isNothing (submission E.^. SubmissionRatingBy)
|
||||||
E.orderBy [E.desc $ sheet E.^. SheetActiveTo]
|
E.orderBy [E.desc $ sheet E.^. SheetActiveTo]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user