attempt to fix build
This commit is contained in:
parent
f31a63422b
commit
1dd2b92374
@ -97,9 +97,11 @@ getUsersR = do
|
||||
if Set.null criterion then E.val True else -- TODO: why is this condition not needed?
|
||||
Set.foldr (\needle acc -> acc E.||. (user E.^. UserDisplayName) `eLike` needle) eFalse (criterion :: Set.Set Text)
|
||||
)
|
||||
, ( "matriculation", FilterColumn $ \user criterion -> if
|
||||
| Set.null criterion -> E.val True :: E.SqlExpr (E.Value Bool)
|
||||
| otherwise -> user E.^. UserMatrikelnummer `E.in_` E.valList (Set.toList criterion)
|
||||
, ( "matriculation", FilterColumn $ \user (criterion :: Set.Set Text) -> if
|
||||
| Set.null criterion -> eTrue -- TODO: why can this be eFalse and work still?
|
||||
| otherwise ->
|
||||
-- (user E.^. UserMatrikelnummer) `E.in_` (E.valList $ Set.toList criterion)
|
||||
(user E.^. UserMatrikelnummer) `E.in_` (E.justList $ E.valList $ Set.toList criterion)
|
||||
)
|
||||
, ( "school", FilterColumn $ \user criterion -> if
|
||||
| Set.null criterion -> E.val True :: E.SqlExpr (E.Value Bool)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user