raising feed limits
This commit is contained in:
parent
22cf2d54da
commit
8346c1d32f
1 changed files with 2 additions and 2 deletions
|
@ -150,7 +150,7 @@ getRootFeedRssR = getRootFeedR
|
|||
|
||||
getRootFeedR :: RepFeed a => Handler a
|
||||
getRootFeedR = do
|
||||
recentMedia <- runDB $ selectList [] [Desc MediumTime, LimitTo 10]
|
||||
recentMedia <- runDB $ selectList [] [Desc MediumTime, LimitTo 100]
|
||||
renderFeed Parameters
|
||||
{ pTitle = "Eidolon :: Latest media"
|
||||
, pLink = HomeR
|
||||
|
@ -167,7 +167,7 @@ getAlbumFeedR :: RepFeed a => AlbumId -> Handler a
|
|||
getAlbumFeedR albumId = do
|
||||
album <- runDB $ get404 albumId
|
||||
url <- getUrlRender
|
||||
recentMedia <- runDB $ selectList [MediumAlbum ==. albumId] [Desc MediumTime, LimitTo 10]
|
||||
recentMedia <- runDB $ selectList [MediumAlbum ==. albumId] [Desc MediumTime, LimitTo 100]
|
||||
renderFeed Parameters
|
||||
{ pTitle = "Eidolon :: Latest media in album " `T.append` (albumTitle album)
|
||||
, pLink = AlbumR albumId
|
||||
|
|
Loading…
Reference in a new issue