limit artist post previews to 10

This commit is contained in:
albert
2013-02-20 13:59:59 -05:00
parent ab52b40c02
commit 7f7e8bf7f7

View File

@@ -8,7 +8,7 @@ module PostSets
end
def posts
::Post.tag_match(@artist.name)
::Post.tag_match(@artist.name).limit(10)
rescue ::Post::SearchError
::Post.where("false")
end