fix(lms): correct lms table column sorting key
This commit is contained in:
parent
e4c1afa2c9
commit
9ee476736c
@ -219,7 +219,7 @@ mkResultTable sid qsh qid = do
|
||||
dbtExtraReps = []
|
||||
|
||||
resultDBTableValidator = def
|
||||
& defaultSorting [SortAscBy "ident"]
|
||||
& defaultSorting [SortAscBy csvResultIdent]
|
||||
dbTable resultDBTableValidator resultDBTable
|
||||
|
||||
getLmsResultR, postLmsResultR :: SchoolId -> QualificationShorthand -> Handler Html
|
||||
|
||||
@ -184,7 +184,7 @@ mkUserlistTable sid qsh qid = do
|
||||
dbtExtraReps = []
|
||||
|
||||
userlistDBTableValidator = def
|
||||
& defaultSorting [SortAscBy "ident"]
|
||||
& defaultSorting [SortAscBy csvUserlistIdent]
|
||||
|
||||
dbTable userlistDBTableValidator userlistTable
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user