minor
This commit is contained in:
parent
b230ba870d
commit
b98a5c2aa7
@ -174,13 +174,12 @@ getProfileDataR = do
|
||||
-- mr <- getMessageRender
|
||||
|
||||
-- Tabelle mit eigenen Kursen
|
||||
(Any hasRows, ownCourseTable) <- do -- TODO: only display when non-empty
|
||||
(Any hasRows, ownCourseTable) <- do
|
||||
let withType :: ((E.SqlExpr (Entity Course) `E.InnerJoin` E.SqlExpr (Entity Lecturer)) -> a)
|
||||
-> ((E.SqlExpr (Entity Course) `E.InnerJoin` E.SqlExpr (Entity Lecturer)) -> a)
|
||||
withType = id
|
||||
|
||||
validator = def
|
||||
& defaultSorting [("term",SortDesc),("school",SortAsc),("course",SortAsc)]
|
||||
validator = def & defaultSorting [("term",SortDesc),("school",SortAsc),("course",SortAsc)]
|
||||
|
||||
dbTableWidget validator $ DBTable
|
||||
{ dbtIdent = "courseOwnership" :: Text
|
||||
|
||||
Loading…
Reference in New Issue
Block a user