feat(users/Profpatsch/whatcd-resolver): allow listing only download
When showing the best torrents table, we want to be able to filter for “only downloaded”. Change-Id: Ibfe9212f3d422d305f858fbef023ee985c1183d6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11650 Autosubmit: Profpatsch <mail@profpatsch.de> Reviewed-by: Profpatsch <mail@profpatsch.de> Tested-by: BuildkiteCI
This commit is contained in:
parent
f79c186909
commit
a2d56cedaf
2 changed files with 9 additions and 6 deletions
|
|
@ -306,7 +306,7 @@ htmlUi = do
|
|||
|]
|
||||
|
||||
artistPage :: (HasField "dbId" dat Text, Applicative m) => dat -> m Html
|
||||
artistPage dat =
|
||||
artistPage dat = do
|
||||
pure
|
||||
[hsx|
|
||||
Artist ID: {dat.dbId}
|
||||
|
|
@ -438,7 +438,7 @@ getBestTorrentsTable ::
|
|||
) =>
|
||||
Transaction m Html
|
||||
getBestTorrentsTable = do
|
||||
bestStale :: [TorrentData ()] <- getBestTorrents
|
||||
bestStale :: [TorrentData ()] <- getBestTorrents (label @"onlyDownloaded" False)
|
||||
actual <-
|
||||
getAndUpdateTransmissionTorrentsStatus
|
||||
( bestStale
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue