Minor bugfix sheetCurrent
This commit is contained in:
parent
b2dd9f4214
commit
2e9320886f
@ -16,7 +16,7 @@ sheetCurrent 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.orderBy [E.asc $ sheet E.^. SheetActiveFrom]
|
E.orderBy [E.asc $ sheet E.^. SheetActiveTo]
|
||||||
E.limit 1
|
E.limit 1
|
||||||
return $ sheet E.^. SheetName
|
return $ sheet E.^. SheetName
|
||||||
return $ case sheets of
|
return $ case sheets of
|
||||||
|
|||||||
Reference in New Issue
Block a user