limit artist post previews to 10
This commit is contained in:
@@ -8,7 +8,7 @@ module PostSets
|
|||||||
end
|
end
|
||||||
|
|
||||||
def posts
|
def posts
|
||||||
::Post.tag_match(@artist.name)
|
::Post.tag_match(@artist.name).limit(10)
|
||||||
rescue ::Post::SearchError
|
rescue ::Post::SearchError
|
||||||
::Post.where("false")
|
::Post.where("false")
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user