* Fix for Pixiv changes
* Fix for artist/wiki pages for -names
This commit is contained in:
@@ -9,6 +9,8 @@ module PostSets
|
||||
|
||||
def posts
|
||||
::Post.tag_match(@artist.name)
|
||||
rescue ::Post::SearchError
|
||||
::Post.where("false")
|
||||
end
|
||||
|
||||
def presenter
|
||||
|
||||
@@ -29,6 +29,8 @@ module PostSets
|
||||
end
|
||||
|
||||
@posts ||= ::Post.tag_match(tag_string).paginate(page)
|
||||
rescue ::Post::SearchError
|
||||
@posts = ::Post.where("false")
|
||||
end
|
||||
|
||||
def has_artist?
|
||||
|
||||
Reference in New Issue
Block a user