Merge branch 'master' into 'live'
Fix #146 Closes #146 See merge request !69
This commit is contained in:
commit
c4d0bd8499
@ -145,10 +145,8 @@ makeCourseTable whereClause colChoices psValidator = do
|
|||||||
, ( "schoolshort", SortColumn $ \(_course `E.InnerJoin` school) -> school E.^. SchoolShorthand)
|
, ( "schoolshort", SortColumn $ \(_course `E.InnerJoin` school) -> school E.^. SchoolShorthand)
|
||||||
, ( "register-from", SortColumn $ \(course `E.InnerJoin` _school) -> course E.^. CourseRegisterFrom)
|
, ( "register-from", SortColumn $ \(course `E.InnerJoin` _school) -> course E.^. CourseRegisterFrom)
|
||||||
, ( "register-to", SortColumn $ \(course `E.InnerJoin` _school) -> course E.^. CourseRegisterTo)
|
, ( "register-to", SortColumn $ \(course `E.InnerJoin` _school) -> course E.^. CourseRegisterTo)
|
||||||
, ( "participants", SortColumn $ course2Participants
|
, ( "participants", SortColumn $ course2Participants )
|
||||||
)
|
, ( "registered", SortColumn $ course2Registered muid)
|
||||||
, ( "registered", SortColumn $ course2Registered muid
|
|
||||||
)
|
|
||||||
]
|
]
|
||||||
, dbtFilter = Map.fromList -- OverloadedLists does not work with the templates here
|
, dbtFilter = Map.fromList -- OverloadedLists does not work with the templates here
|
||||||
[ ( "course", FilterColumn $ \(course `E.InnerJoin` _school:: CourseTableExpr) criterias -> if
|
[ ( "course", FilterColumn $ \(course `E.InnerJoin` _school:: CourseTableExpr) criterias -> if
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user