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 :: RepFeed a => Handler a
|
||||||
getRootFeedR = do
|
getRootFeedR = do
|
||||||
recentMedia <- runDB $ selectList [] [Desc MediumTime, LimitTo 10]
|
recentMedia <- runDB $ selectList [] [Desc MediumTime, LimitTo 100]
|
||||||
renderFeed Parameters
|
renderFeed Parameters
|
||||||
{ pTitle = "Eidolon :: Latest media"
|
{ pTitle = "Eidolon :: Latest media"
|
||||||
, pLink = HomeR
|
, pLink = HomeR
|
||||||
|
@ -167,7 +167,7 @@ getAlbumFeedR :: RepFeed a => AlbumId -> Handler a
|
||||||
getAlbumFeedR albumId = do
|
getAlbumFeedR albumId = do
|
||||||
album <- runDB $ get404 albumId
|
album <- runDB $ get404 albumId
|
||||||
url <- getUrlRender
|
url <- getUrlRender
|
||||||
recentMedia <- runDB $ selectList [MediumAlbum ==. albumId] [Desc MediumTime, LimitTo 10]
|
recentMedia <- runDB $ selectList [MediumAlbum ==. albumId] [Desc MediumTime, LimitTo 100]
|
||||||
renderFeed Parameters
|
renderFeed Parameters
|
||||||
{ pTitle = "Eidolon :: Latest media in album " `T.append` (albumTitle album)
|
{ pTitle = "Eidolon :: Latest media in album " `T.append` (albumTitle album)
|
||||||
, pLink = AlbumR albumId
|
, pLink = AlbumR albumId
|
||||||
|
|
Loading…
Reference in a new issue