diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-03-15 20:12:46 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-03-15 20:12:46 +0100 |
commit | 3ed9ec8ca70afb556f75d4e087043f4c67f50974 (patch) | |
tree | dbc7e2d17e87d89bb5fd80c7592e4e7de582e815 /Handler/ReferenceListing.hs | |
parent | 7888d76bc45caed34cb3aa10824807d01057d746 (diff) | |
parent | 127d763a6a68d8fd242e093ba9f55bf769635842 (diff) | |
download | bar-3ed9ec8ca70afb556f75d4e087043f4c67f50974.tar bar-3ed9ec8ca70afb556f75d4e087043f4c67f50974.tar.gz bar-3ed9ec8ca70afb556f75d4e087043f4c67f50974.tar.bz2 bar-3ed9ec8ca70afb556f75d4e087043f4c67f50974.tar.xz bar-3ed9ec8ca70afb556f75d4e087043f4c67f50974.zip |
Merge branch 'feat/optimizeTypes'
Diffstat (limited to 'Handler/ReferenceListing.hs')
-rw-r--r-- | Handler/ReferenceListing.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Handler/ReferenceListing.hs b/Handler/ReferenceListing.hs index e433429..690f3f7 100644 --- a/Handler/ReferenceListing.hs +++ b/Handler/ReferenceListing.hs | |||
@@ -17,7 +17,7 @@ postReferenceListingR = do | |||
17 | FormFailure errors -> mapM_ (addMessage "formError" . toHtml) errors | 17 | FormFailure errors -> mapM_ (addMessage "formError" . toHtml) errors |
18 | _ -> return () | 18 | _ -> return () |
19 | 19 | ||
20 | (referenceSort -> reference) <- runDB $ mapM withType =<< selectList [] [Asc ReferenceKind] | 20 | (referenceSort -> reference) <- runDB $ withTypes =<< selectList [] [Asc ReferenceKind] |
21 | 21 | ||
22 | selectRep $ do | 22 | selectRep $ do |
23 | provideJson (reference :: [WithType (Entity Reference)]) | 23 | provideJson (reference :: [WithType (Entity Reference)]) |