diff --git a/src/Handler/Course.hs b/src/Handler/Course.hs index 51fc05fca..776d4e03b 100644 --- a/src/Handler/Course.hs +++ b/src/Handler/Course.hs @@ -29,7 +29,7 @@ getCourseListR = redirect TermShowR getTermCurrentR :: Handler Html getTermCurrentR = do - termIds <- runDB $ selectKeysList [TermActive ==. True] [] + termIds <- runDB $ selectKeysList [TermActive ==. True] [] -- [Desc TermName] does not work, since database representation has wrong ordering case fromNullable termIds of Nothing -> notFound (Just (maximum -> tid)) -> getTermCourseListR tid