mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-01-12 04:08:29 +01:00
bar
This commit is contained in:
parent
c5847bb2a5
commit
12462dff95
@ -648,7 +648,7 @@ getLtsSnapshotsForPackage pname mlimit =
|
||||
run (snapshotPackageInfoQuery $ \_sp s pn _v spiQ -> do
|
||||
where_ $
|
||||
pn ^. PackageNameName ==. val pname &&.
|
||||
(s ^. snapshotName `ilike` val "lts%")
|
||||
(s ^. SnapshotName `ilike` val "lts%")
|
||||
orderBy [desc (s ^. SnapshotCreated)]
|
||||
forM_ mlimit (limit . fromIntegral)
|
||||
pure (s ^. SnapshotCompiler, spiQ))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user