mirror of
https://github.com/Start9Labs/registry.git
synced 2026-04-04 13:49:43 +00:00
augment test manifest and fix ram query
This commit is contained in:
@@ -116,6 +116,7 @@ import Startlude (
|
||||
($>),
|
||||
(<$>), Int,
|
||||
)
|
||||
import Database.Esqueleto.Experimental ((>.))
|
||||
|
||||
serviceQuerySource ::
|
||||
(MonadResource m, MonadIO m) =>
|
||||
@@ -149,7 +150,7 @@ serviceQuerySource mCat query mOsArch mRam = selectSource $ do
|
||||
where_ $ cat ^. CategoryName ==. val category &&. queryInMetadata query service
|
||||
where_ (service ^. VersionRecordNumber ==. vp ^. VersionPlatformVersionNumber)
|
||||
where_ (vp ^. VersionPlatformArch ==. val mOsArch)
|
||||
where_ (vp ^. VersionPlatformRam ==. val mRam)
|
||||
where_ (vp ^. VersionPlatformRam >. val mRam)
|
||||
where_ (pr ^. PkgRecordHidden ==. val False)
|
||||
pure service
|
||||
groupBy (service ^. VersionRecordPkgId, service ^. VersionRecordNumber)
|
||||
|
||||
Reference in New Issue
Block a user